On 2016-04-09 09:02, Curtis Mitch wrote:
> Is there any technical reason (besides compatibility) why QColor::hslHueF()
> can't return a value between 0 and 1?
>
> If the colour being represented by QColour is black, QColor::hslHueF() will
> return -1:
I think there is a misunderstanding
Is there any technical reason (besides compatibility) why QColor::hslHueF()
can't return a value between 0 and 1?
I see that other projects do this:
https://developer.mozilla.org/en/docs/Web/CSS/color_value#hsl()
https://github.com/bgrins/TinyColor/issues/12
If the colour being represented by