- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Mar 2023 18:18:01 +0000
- To: public-css-archive@w3.org
Here is a worked example. Start with `color(ProPhoto-RGB 1 1 0)` (fully saturated yellow) which is [`rgb(112.4% 100.1% -43.9%)`](https://colorjs.io/apps/convert/?color=rgb(112.4%25%20100.1%25%20-43.9%25)&precision=4). Converting that to HSL without gamut mapping is ```js rgb2hsl([(1.124, 1.001, -0.439)]); Array(3) [ NaN, 0, -43.9 ] ``` which is an achromatic (grey) color with negative lightness. Converting it _with_ gamut mapping is `hsl(45.41 100% 98.59%)` which is a highly saturated, orangeish yellow, but almost as light as white. -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8444#issuecomment-1480049550 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 22 March 2023 18:18:03 UTC