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

omgovich has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-5] A mistake in the "color-mix" examples ==
Hey! 👋 I was working on adding color mixing functionality to my new color conversion library [Colord](https://github.com/omgovich/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.

<img width="878" alt="Xnip2021-04-28_18-10-29" src="https://user-images.githubusercontent.com/206567/116429306-6f1cb580-a84e-11eb-8e5c-2f4d019cbb03.png">
<img width="640" alt="Xnip2021-04-28_18-14-35" src="https://user-images.githubusercontent.com/206567/116429317-7217a600-a84e-11eb-849f-1d7cb48de32d.png">

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.




Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6249 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 28 April 2021 15:24:44 UTC