absurd icon indicating copy to clipboard operation
absurd copied to clipboard

Lighten and Darken not working as expected

Open Spydr331 opened this issue 8 years ago • 1 comments

Hi,

I was evaluating the library for a project of mine and I was trying to see if the lighten and darken functions worked the same as I was expecting. I started with the same color #dc2a2a, and lightened it by 37% for one color and darkened it by 6% as a second color, in both scss (using sassmeister.com for reference) and absurd. These were the results, why are they different?

scss: dark: #c72121 light: #f7cccc

absurd: dark: #cf2727 light: #ff3a3a

Spydr331 avatar Jan 04 '17 18:01 Spydr331

I see. We probably use different algorithms.

krasimir avatar Jan 04 '17 20:01 krasimir