d3-color
d3-color copied to clipboard
Supporting CSS color level 4
What do you think about supporting CSS colors level 4 https://www.w3.org/TR/css-color-4/:
- rgb
rgb(12 53 80)
andrgb(12 53 80 / 0.5)
: https://www.w3.org/TR/css-color-4/#rgb-functions - hsl:
hsl(120deg 100% 50%)
andhsl(120deg 100% 50% / 0.5)
: https://www.w3.org/TR/css-color-4/#the-hsl-notation - lab:
lab(12% 39 20)
andlab(12% 39 20 / 0.5)
: https://www.w3.org/TR/css-color-4/#specifying-lab-lch - lch:
lch(29% 44.2 27)
andlch(29% 44.2 27 / 0.5)
: https://www.w3.org/TR/css-color-4/#specifying-lab-lch
see also https://github.com/d3/d3-color/pull/71
Ohhh I looked at the opened issue but I haven't checked the opened PRs
Thanks 🙇♂️
I re-opened this issue and the related PR isn't merged yet. So it'll make it easier to track the support for CSS level 4 (if people want to link this issue)