4 ms·
I'm not sure HSL would be better in that case. For unsaturated colors (black to grey to white) HSL has many points that have perceptually the same color but dif
by ajnin 6y ago
I'm not sure HSL would be better in that case. For unsaturated colors (black to grey to white) HSL has many points that have perceptually the same color but different HSL values. If S is zero, then you have the same color for any value of H so you might get a large distance for two points that are actually white for example. At least when using Cartesian coordinates like he is here.
- aasasd 6y agoYes, as I noted: > Just need to make sure that white and black aren't matched to random hue values. Colors with too small saturation can just be excluded from the search, since gray/white/black go with anything.