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.
https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl
#frontend #design #evilmartians #programming #resources
https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl
#frontend #design #evilmartians #programming #resources