What are OKLCH colors?

68 points by susam


equeue

Seems like it would be reasonable to link or credit the original post by Björn Ottosson that describes the design of the OkLab color space: https://bottosson.github.io/posts/oklab/

I like OkLab/OkLCh so much, I used it to make a Neovim colorscheme to try and find maximally-distinguishable color hues with consistent color contrast for readability.

More color pickers:

oliverpool

https://oklch.fyi/ is very cool!

andyferris

It looks nice.

So can a colorspace like this effectively give a metric or distance between any two colors? If so, can we define a “geodesic” or path of least distance between two points to define the gradient? The gradient does seem to take an unexpected detour and I suspect that we could get a better result by thinking harder about it.