Hacker News new | past | comments | ask | show | jobs | submit login

This is a bad approach, because HSV is not an appropriate color model for this purpose.



How so? What would be an appropriate model, and why is HSV not appropriate?


As the link says, “it's not perfect, as it doesn't take into account the different visual acuity of the human eye in different color channels”. That is why HSV is not appropriate – its H, S, and V scales are only approximations of axes that categorize colors as humans perceive them. For instance, V (value) roughly corresponds to how light or dark a color is, but blue with maximum V is way darker than yellow with maximum V.

I don’t know what the best model is. HSL, at least, is a simple-to-understand strict improvement over HSV. Other people in this thread are suggesting models I don’t know much about like CIELAB and CIECAM02. A model I have used to choose colors before, which is a variation of CIELUV and an improvement over HSL, is HUSL: http://www.boronine.com/husl/.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: