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

Re: [csswg-drafts] [css-color-5] [css-values-4] Interpolation and mixing of colors (#5392)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Tue, 04 Aug 2020 21:21:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-668831728-1596576102-sysbot+gh@w3.org>
> Interpolation of is defined as the independent interpolation of each component (red, green, blue, alpha)

Wow, that RGB-centric text badly needs to be updated. Premultiplying in a gamma-corrected RGB space is also inherently incorrect.

In general, interpolation needs an overhaul. There is a start on that  with the [Interpolation section in Color 5](https://drafts.csswg.org/css-color-5/#interpolation).

Compositing also needs an overhaul (actually, a whole new level, which adds XYZ compositing in addition to the existing, badly broken, Photoshop-compatible sRGB gamma corrected compositing).

CSSOM mentions of color, which assume RGB, need an overhaul.

Values and Units, which assumes RGB, needs an overhaul.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 4 August 2020 21:21:45 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC