W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

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

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Wed, 24 Jun 2020 22:57:48 +0000
To: public-css-archive@w3.org
Message-ID: <pull_request.labeled-439561300-None-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:28 UTC