Hacker News new | ask | show | jobs
by mattdesl 103 days ago
For those just learning about perceptual colour spaces, I’d recommend exploring OKLab which is simpler to implement and overcomes some of the problems of CIELab.

https://bottosson.github.io/posts/oklab/

2 comments

Oklab is awesome and it’s such a great example of a person putting in time somewhere, where many just glanced over but still complained over the years. And it was so good that it was adopted everywhere.
This is great! The project that prompted me to submit TFA becomes ever so slightly better in OKLab (from early experiments using CSS color-mix) but I thought it would be more complicated than CIE Lab. Seems like it's not? Will try to implement it using OKLab instead!