- From: Yousuf Syed via GitHub <sysbot+gh@w3.org>
- Date: Wed, 20 Dec 2023 16:12:00 +0000
- To: public-css-archive@w3.org
YousufSSyed has just created a new issue for https://github.com/w3c/csswg-drafts: == Allow specifying color space for lch() and hsl()? (allow specifying colors in formats other than RGB, with color spaces other than SRGB) == Right now it looks like the only way to specify colors outside the SRGB colorspace is using the `color()` function, which takes values for the amount of R G B and A, like the `rgb()` function, and there is no other way to do so. It would be very useful if I could use functions like `hsl()` or `lch()`, that allow me to define hue sat and lum instead of RGB, with colorspaces like P3 instead of SRGB. Specifically, I could use something like `calc()` with lum to produce different shades of P3 color. Excuse if anything of this sounds naive, I don't know too much about color or CSS WG and whatnot. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9732 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 December 2023 16:12:02 UTC