Comment on Why is #FFFFFF white, but mixing red green and blue paint is black?

<- View Parent
Mikina@programming.dev ⁨3⁩ ⁨days⁩ ago

If you’re going this route, I highly recommend looking into and using OKLAB instead.

The problem with HSL/HSV is that it’s not perceptually uniform - if you only move HUE to change color, you will get different perceived brightnesses. This is important especially when procedurally generating color palettes, but also makes it harder to pick a color.

OKLAB solves that issue, and is designed to be uniform. Here is a great article about it, which is funnily enough a blog post that invented the color spectrum, that got noticed and eventually turned into a new industry standard.

Here is a picture that sums up pretty obviously what is the difference. This is a gradient that moves just the hue.

Image

source
Sort:hotnewtop