webinista / colortheory

Decided to build a thing on a whim. May not finish.
http://colors.webinista.com/
1 stars 0 forks source link

Double check rgbToHsl conversion #33

Closed webinista closed 7 years ago

webinista commented 7 years ago

Conversion returns correct hue, but saturation for some colors doesn't quite match other color pickers. But those other color pickers don't match each other.

Example rgb(138, 140, 115) was converted to hsl(65, 5%, 50%) instead of hsl(65, 10%, 50%). Should be closer to 10.

Hard to test outcomes if the conversions are off.

Colors this occurs with:

Seems to happen with the conversion from rgb to hsl.