Re: [csswg-drafts] [css-color] sRGB transfer curve outside 0.0 to 1.0 range

A quick test indicates that all current browsers accept the out of 
gamut colors and do individual (per component) clamping to the 0.0 to 
100% range. For example rgb(0%, 150%, 50%) becomes rgb(0%, 050%, 50%) 
not rgb(0%, 100%, 33%), thus having too much blue compared to the 
desired color. And that is without even doing any conversion to a 
linear (additive) colorspace for the scaling operation.
http://codepen.io/svgeesus/pen/AXQVEA

Given that, I propose that the spec merely document existing behavior 
that individual components will be clamped to the 0.0 to 100% range. 
The spec should treat that as typo correction and not make any claims 
about wide gamut colors.

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

Received on Sunday, 10 July 2016 09:35:59 UTC