W3C home > Mailing lists > Public > www-style@w3.org > February 2016

Re: [css-color] wider/deeper colors

From: <aaron.www-style-@infinite-source.de>
Date: Mon, 15 Feb 2016 23:42:02 +0100
To: www-style@w3.org
Message-ID: <56C2543A.8030305@infinite-source.de>
Something that would benefit from alternative colorspaces even without
wider display gamut are CSS gradients.

Currently they're done in sRGB which leads to some fairly ugly results
when blending hues[1].

David Baron suggested[2] that extending SVG's color-interpolation
property to cover gradients might help.

The downside tehre is that the only offered alternative, linear sRGB,
would fix the hue issue it would do so at expense of luminosity
transitions, e.g. in grey-grey gradients.

Ideally blending in some perceptually uniform space would be an option
since it likely reflects author intent.

Similarly gradients could benefit from deeper colors even on 8bit
displays simply by dithering the output to 8bit.

- Aaron


[1] https://bug1248178.bmoattachments.org/attachment.cgi?id=8719199
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1248178#c2
Received on Tuesday, 16 February 2016 08:56:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:00 UTC