Hacker News new | ask | show | jobs
by bugeats 1625 days ago
> Now, HSL isn't necessarily the best color mode to use in every situation; it tends to produce gradients that can be overly bright and vivid, because it doesn't take into account human perception.

Shout-out to to HSLUV which does exactly that.

https://www.hsluv.org/

1 comments

Or likely better, Okhsl and Okhsv: https://bottosson.github.io/posts/colorpicker/
https://bottosson.github.io/misc/colorpicker/#738951

wow, the "Ok" family is clearly much better at modeling human perception.

Sure, but that is often not as useful as it sounds.

For instance, on your page, try to pick the most intense green using one of the Ok pickers. The edges of the physically representable colour space can be pretty important for many tasks.

This should be the submission. Color is endlessly hard and OP is babysauce.