- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Mon, 17 Apr 2023 12:40:06 +0000
- To: public-css-archive@w3.org
Thanks for PR updating the WPT. Before approving, I need to check the right ranges are used, in the case where alpha is used as one of the color channels, particularly for `rgb()` which has a legacy-compatible 0,255 range on color channels. So in the case of 80% alpha, the value is 0.8 which is legal, but very dark on a 0,255 scale. Using 0,1 alpha works better for `color()` of course which also uses a modern 0,1 scale. Plus, mixing up the channels like this doesn't have much of a practical use case. I can't think when it might be useful in practice to have a red, green or blue value depend on the origin alpha. (And no it can't be used for premultiplication either because these are gamma-encoded color component values). -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8708#issuecomment-1511263349 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 17 April 2023 12:40:07 UTC