That’s a neat trick! But as we’re using modern CSS here, I’d also suggest using oklab instead of hsl to make sure it matches what the human eye expects.
oklab
hsl
This blog post from Evil Martians helped me a lot to understand how oklab works and its advantages.
That’s a neat trick! But as we’re using modern CSS here, I’d also suggest using
oklabinstead ofhslto make sure it matches what the human eye expects.This blog post from Evil Martians helped me a lot to understand how
oklabworks and its advantages.