1. 6
    1. 6

      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.

      This blog post from Evil Martians helped me a lot to understand how oklab works and its advantages.