W3C home > Mailing lists > Public > www-style@w3.org > September 2004

Re: ideas for future css versions ...

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 09 Sep 2004 21:32:51 -0400
Message-ID: <41410443.1080602@inkedblade.net>
To: www-style@w3.org

W. Leon Sutton, Jr. wrote:
>
> In other words, #123 would indeed be #123123.  My understanding is that
> #1234 would be #12341234.  Is my understanding flawed?  Should it be #112233
> and #11223344, instead?

http://www.w3.org/TR/css3-color/#rgb-color
"The three-digit RGB notation (#rgb) is converted into six-digit
  form (#rrggbb) by replicating digits"

The first pair represents red, the second green, the third blue.
In #xxx notation, the first digit represents red, the second green,
the third blue. Treating #123 as #123123 would make no sense.

~fantasai

-- 
http://fantasai.inkedblade.net/contact
Received on Friday, 10 September 2004 01:37:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:32 GMT