I'm not sure what you want it to be really, but it looks cool ๐Ÿ˜
1
1
Same perceived brightness. Which *isn't* achieved with the same lightness in HSL. I just don't know HOW to do it.
3
So I'd need to extract the RGB from the HSL first and then do the computations? ๐Ÿค”
2
You got me to try writing this: dbaron.org/css/test/2017/uniโ€ฆ The one other point is that the luminance computations need to be in linearRGB.
1
3
probably that was when I was editing live after realizing it didn't work in Chrome

Jun 22, 2017 ยท 10:49 PM UTC

1