W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: [css3-images] RE: first IE10 preview has gradients

From: Alan Gresley <alan@css-class.com>
Date: Thu, 14 Apr 2011 00:43:59 +1000
Message-ID: <4DA5B6AF.2090506@css-class.com>
To: Brian Manthos <brianman@microsoft.com>
CC: www-style list <www-style@w3.org>
On 13/04/2011 10:52 PM, Alan Gresley wrote:

> One question, why rgb(254,0,0) instead of
> rgb(255,0,0)? Is this to do with the midway point? I claim that the
> midway point or halfway between 'white' and 'black' is rgb(127,127,127),
> where Tab says rgb(127.5,127.5,127.5) [1] (rambling thread which I made
> errors). My basis for my claim is true representation of sRGB colorspace
> as a cube.


Tab is correct.

http://css-class.com/test/temp/steps-0-255.htm


I presume you use rgb(254,0,0) since the halfway point is rgb(127,0,0).



-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Wednesday, 13 April 2011 14:44:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT