[csswg-drafts] Pull Request: [css-color-5] Fix intermediate color in color-mix(red yellow 65%) example.

dbaron has just labeled a pull request from dbaron for https://github.com/w3c/csswg-drafts as "css-color-5":

== [css-color-5] Fix intermediate color in color-mix(red yellow 65%) example. ==
The main bug was reported both in a comment in the spec and in
https://github.com/w3ctag/design-reviews/issues/526#issuecomment-649100113

This also fixes dropping of a "9" digit in the red's chroma midway
through the calculations.

Note that the correct intermediate is well out of sRGB.  I just chose to
use it anyway and add a note about such cases.

See https://github.com/w3c/csswg-drafts/pull/5256

Received on Wednesday, 24 June 2020 22:57:50 UTC