- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Fri, 18 Feb 2022 17:47:12 +0000
- To: public-css-archive@w3.org
> One concrete thing you might want to consider is updating the sample code to call out this difference. In addition to the clarified spec prose, the sample code now has, for OKLab: ```js return multiplyMatrices(LMStoOKLab, LMS.map(c => Math.cbrt(c))); // L in range [0,1]. For use in CSS, multiply by 100 and add a percent ``` and for CIE Lab: ```js return [ (116 * f[1]) - 16, // L 500 * (f[0] - f[1]), // a 200 * (f[1] - f[2]) // b ]; // L in range [0,100]. For use in CSS, add a percent ``` -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6761#issuecomment-1044908910 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 18 February 2022 17:47:14 UTC