- From: Christoph Päper <christoph.paeper@crissov.de>
- Date: Fri, 17 Sep 2010 10:44:42 +0200
- To: "www-style@w3.org list" <www-style@w3.org>
Alexis Shaw: > On 17 September 2010 18:10, Alexis Shaw <alexis.shaw@gmail.com> wrote: > >> I mean that the definition needs to be able to have more than 256 possible >> values, more like 10000 possible values > > 256 values is not enough, as the color space would be compressed. Percentages are not <integer> ‘%’, but <number> ‘%’. So, by design, they do support to write much more than 101 distinct values, even more than 10000. How many distinction a user agent or some graphics framework can handle is out of scope for CSS. There is no 1-byte-per-component limit in CSS except for some of the RGB color notation and that is historic baggage. For example, “rgb(80%, 48.5%, 12.5787587%)” works just fine today, even if it results in exactly the same color value as “rgb(204, 124, 32)”.
Received on Friday, 17 September 2010 08:45:15 UTC