- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Sat, 17 Dec 2022 19:27:09 +0000
- To: public-css-archive@w3.org
> Separately (and I don't understand colorspaces enough to know if this is a nonsense question): Does it make sense to define these relative color keywords separately/independently from the function definitions? Not a nonsense question. > If you define a color using rgb(), can you extract a w value from it, for instance? We considered that and decided against it, so you only get the channels of the colorspace in use. This avoids having to coerce colors to the sRGB gamut (for `hsl()` and `hwb()`) or define a default RGB space (if you extract the `r` value of an `oklab()` color for example. So it would have made sense, but introduced complexity with no obvious value, so the answer to your earlier question is "no". -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7721#issuecomment-1356403610 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 17 December 2022 19:27:11 UTC