OKLCH in CSS: why we moved from RGB and HSL

In CSS, we’ve been encoding colors with rgb() or hex (mostly for historical reasons). However, the new CSS Color 4 specification adds many better ways of declaring colors in CSS. Of these, oklch() is the most interesting one—this article explains why.

Source https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl
Like what you found?

Subscribe to my Brief Updates.