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 23:45:13 -0700
Message-Id: <240A33EF-245D-4298-BC61-D1F62A674504@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

On Jun 8, 2012, at 10:56 PM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:

> On 6/9/12 1:46 AM, Brad Kemper wrote:
> > Well, yeah. Whether it is emitted or reflected, light is generally
> > necessary for vision.
> The point is that the "light" involved may not may very well to "r", "g", and "b".
>> I assumed rgb(0,0,0) would be a black that at least as dark as any gamut could approximate.
> Sure.  The question is what rgb(-10, 255, 255) is.  You seemed to assume that you can't take away any red from a combination of "green" and and "blue", but the fact is that these are exactly orthogonal to each other in any meaningful way, so you can.  As long as you're not using display hardware that maps these abstract coordinates to nonnegative physical quantities like light intensity, of course.

OK, I yield. Thanks for explaining it. 
Received on Saturday, 9 June 2012 06:45:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC