- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 May 2021 15:36:01 +0000
- To: public-houdini-archive@w3.org
> If we have this, then it also gives us an identifier we can use to make the `toX()` function generic, rather than having specialized names. That is, we can write `.to("rgb")` to get a `CSSRGB` object, or `to("rec2020")` to get a `CSSColor` object set to the rec2020 color space. That would be much better, yes. It should be noted that the domain and range are unbounded, so that there is no hidden clipping or gamut mapping, when converting from one space to another (i.e. you can convert back without loss). -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1036#issuecomment-840643790 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 13 May 2021 15:36:03 UTC