-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the correct inverse matrix #360
Conversation
For sanity, here is the Color.js output.
|
Thanks @facelessuser! These values give good results for us : csstools/postcss-plugins#1179 |
Yeah, I'm usually more careful, but at least it's more on track now 🙃. |
This should probably get updated in CSS spec as well. I saw it was updated with my fault inverse recently 😬. |
Will do! |
CSS sample code updated w3c/csswg-drafts@5ae7930 |
The
scaled_cone_M
was accidentally used as the inverse matrix. The proper one is now used. This is calculated directly by color.js and logged to the console instead of pre-calculating. This matrix is calculated when going from a D50 color space to D65.