4 ms·
I think CSS's standard hsl(…) did most of the heavy lifting here. Tailwind took advantage and set variations to CSS classes. I am coming to prefer lch(…) to an
by ttfkam 3y ago
I think CSS's standard hsl(…) did most of the heavy lifting here. Tailwind took advantage and set variations to CSS classes.
I am coming to prefer lch(…) to any library. It scratches that consistent color itch and has basically universal support now in browsers. Then again, I prefer setting my CSS values through CSS variables rather than setting visual styles in the markup. YMMV
- Leftium 3y agoThanks for teaching me about lch()! It looks like oklch() fixed a problem I noticed with blue-white gradients turning purple~