Comment

Comment by lelanthran

> Is using these less-intuitive colour encodings made more practical through the use of CSS variables?

I find it more intuitive: when I want to mix colors, or algorithmically choose colors, only oklch works to give decent results.

Maybe you want to severely darken/lighten a color on a page when the user hovers over it - doing it in RGB or HSL results in a color that does not go with the existing colors. Doing it in OKLCH does.

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton