Re: Suggestion about invalid colors

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 UTC