Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.1
-
None
-
88c1670a658d55257d50181d741afe562e44344b
Description
hslHueF says:
return ct.ahsl.hue == USHRT_MAX ? -1.0 : ct.ahsl.hue / 36000.0;
It thinks that for achromatic color hue should be set to USHRT_MAX. But function toHsl sets it to 0. As the result hslHueF returns 0 for achromatic colors, while is should return -1.