W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2021

Re: [csswg-drafts] [css-color-5] A mistake in the "color-mix" examples (#6249)

From: aborayan1020 via GitHub <sysbot+gh@w3.org>
Date: Wed, 12 May 2021 05:21:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-839450145-1620796895-sysbot+gh@w3.org>
Hey! 👋 I was working on adding color mixing functionality to my new color conversion library Colord and it seems to me that I found a mistake in the examples. Probably this is not the only mistake of this kind there.

Xnip2021-04-28_18-10-29

Xnip2021-04-28_18-14-35

https://codepen.io/omgovich/pen/bGgJJPq

Tested it with my library (which is based on the color conversion algorithms from the specs) and by the latest Safari Technology Preview. I'm pretty sure that the resulting RGB value is incorrect.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 12 May 2021 05:21:38 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:23 UTC