- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Mar 2023 20:09:57 +0000
- To: public-css-archive@w3.org
To get the gamut-mapped result I was using the [algorithm from color.js](https://github.com/LeaVerou/color.js/blob/main/src/spaces/hsl.js#L25-L46) via our [convert app](https://colorjs.io/apps/convert/), which is (apart from terser variable names) the same. For the un-mapped one, I pasted the [sample code from the spec](https://drafts.csswg.org/css-color-4/#rgb-to-hsl) into the console and gave it the sRGB array (percents converted from [0%..100%] to [0..1]) -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8444#issuecomment-1480198617 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 20:09:58 UTC