Re: [csswg-drafts] [css-color-5] add target contrast ratio to color-contrast? (#4749)

That's a fantastic looking tool Nate.

I had the same question as svgeesus actually. As the CIECAM02 model appears to be built on D3 color, the answer is here: https://github.com/connorgr/d3-cam02
> Both Jab and JCh assume average viewing conditions for the purposes of computing CAM02 color.

and here: https://github.com/connorgr/d3-cam02/blob/master/src/cam02.js#L105


-- 
GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4749#issuecomment-618244036 using your GitHub account

Received on Thursday, 23 April 2020 07:57:13 UTC