←back to thread

276 points samwillis | 1 comments | | HN request time: 0s | source
Show context
SirMaster ◴[] No.41081422[source]
It's probably good to start with XYZ, but we have much better colorspaces now that do a better job at correlating with our vision.

Mainly CIE 1976 L',u',v' and even more recently ICtCp from Dolby research.

replies(4): >>41081785 #>>41082463 #>>41083099 #>>41083860 #
refulgentis ◴[] No.41081785[source]
CAM-16. When in doubt, ask the color scientists :)
replies(1): >>41082562 #
anon2345252 ◴[] No.41082562[source]
Oklab is even better.

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

replies(1): >>41082835 #
refulgentis ◴[] No.41082835[source]
No, it's not, by definition. It's one matrix multiplication to do an approximation of it. More here: https://news.ycombinator.com/item?id=41081832

The only claim to superiority it makes is gradients, and that's a category error: they blend polar opposite hues in the Cartesian space (i.e. x / y / z), rather than polar (i.e. h/s/l). Opposite hues mean lerp'ing in cartesian brings it through the center of the circle, 0 saturation. Thus, blue and yellow do combine to a off-white. Engineering around it indicates something fundamentally off, much less that it is better. I don't ascribe ill intent but I do worry very much about how widely this is misunderstood.

replies(1): >>41088362 #
1. ◴[] No.41088362{3}[source]