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

Re: [css-color] wider/deeper colors

From: Chris Lilley <chris@w3.org>
Date: Tue, 16 Feb 2016 10:03:51 +0100
Message-ID: <1548724711.20160216100351@w3.org>
To: aaron.www-style-@infinite-source.de, www-style@w3.org
Hello aaron,

Monday, February 15, 2016, 11:42:02 PM, you wrote:

> 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.

It would help, yes. (Actually not an extension, in SVG it already does
that, but applying the property to html/css would help there).

> 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.

Yes, just those two options is too limited.

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

Since we are adding Lab as a colorspace, then adding it as a value to
color-interpolation makes a lot of sense too. Perceptually linear, no
gamut clipping.

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

Yes (as is done currently with 8bit colors, dithered to 6bits on TN

Best regards,
 Chris  Lilley
 Technical Director, W3C Interaction Domain
Received on Tuesday, 16 February 2016 09:03:58 UTC

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