|
|
|
|
|
by lelanthran
34 days ago
|
|
> 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. |
|