W3C home > Mailing lists > Public > www-validator-css@w3.org > April 2006

Re: Suggestion about invalid colors

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 27 Apr 2006 15:14:30 +1000
Message-ID: <44505336.5090700@lachy.id.au>
To: Philip Mak <pmak@aaanime.net>
CC: www-validator-css@w3.org

Philip Mak wrote:
> Regarding this error:
>> Invalid number : color brown is not a color value : brown
> 
> It would be nice if it told me the correct hex value (e.g. #123456) to
> replace "brown" (which most browsers support, but isn't in the
> standard) with. Right now to fix this, I'd have to load the page in my
> browser, screenshot it, then use a color dropper on the brown to
> figure out its hex value.

You could just look it up in the CSS3 Color Module draft, where these 
keywords are being standardised.
http://www.w3.org/TR/css3-color/#svg-color

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Thursday, 27 April 2006 05:14:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:16 GMT