A Guide To Modern CSS Colors
Smashing Magazine
NOVEMBER 17, 2021
See the demo → LAB and LCH, while perhaps being syntactically a little less intuitive, behave in a way that makes more sense to the human eye. Perhaps you have colors stored as Sass variables: $primary: rgb(141 66 245); When converting to HSL, we can assign custom properties for the hue, saturation and lightness values.
Let's personalize your content