Closed 2manypistachios closed 2 years ago
Hi, I would say it's a common problem that every color picker developer faces.
Just check a saturation of new color and if it's 0
or 100
— don't change an internal hue
value.
I guess you might find a solution, for example, in react-color
package code.
I ran into an issue where my users could control a color wheel, and control the lightness level separately from hue and saturation. If they were to go absolute white or absolute dark, then they would lose their hue and saturation values. It creates a fairly jarring effect on the app.
Would appreciate some advice.