W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [css4-color] Make the r/g/b components be <number> rather than <integer>?

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 8 Jun 2012 21:59:18 -0700
Message-Id: <941AE8BA-E2CB-4E68-B726-964A02BB79F9@gmail.com>
Cc: Simon Sapin <simon.sapin@kozea.fr>, "www-style@w3.org" <www-style@w3.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
On Jun 8, 2012, at 3:50 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

> I don't understand what part of my statement was unclear.  ^_^  Do a
> normal round operation.  If the decimal portion is .5, round toward
> positive infinity, so 1.5 becomes 2 and -1.5 becomes -1.

RGB values can be negative? Isn't zero the absence of any light from that component of the pixel? Do negative values suck the light from other light sources in the room? 
Received on Saturday, 9 June 2012 04:59:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:35:11 UTC