css.land
css.land copied to clipboard
Safari 15 supports `lch(...)` syntax natively
Currently, the displayed color is rendered with either rgb(...) or color(display-p3 ...) syntax. However, Safari 15 supports lch(...) syntax natively. It would be awesome to use the native syntax if possible!
I tried manually copy-pasting the produced lch() color into the --color style attribute, and got a slightly brighter color (lch(49% 132 360) on top, color(display-p3 0.8423 0 0.4685) on the bottom)
.