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

Validator reports error for color fuchsia

From: David Azarewicz <david@88watts.net>
Date: Sat, 23 Dec 2006 11:17:02 -0800 (PST)
To: "www-validator-css@w3.org" <www-validator-css@w3.org>
Message-Id: <20061223191703.FVUX16632.fed1rmmtao08.cox.net@fed1rmimpo02.cox.net>

The following line:

A:hover { color: fuchsia; background: transparent; }

Generates the following error:

A:hover  	Invalid number : color fuchsia is not a color value : fuchsia

However, fuchsia is a valid color name:

4.3.6 Colors
A <color> is either a keyword or a numerical RGB specification.

The list of keyword color names is: aqua, black, blue, fuchsia, gray, 
green, lime, maroon, navy, olive, purple, red, silver, teal, white, and 
yellow. These 16 colors are defined in HTML 4.0 ([HTML40]). In 
addition to these color keywords, users may specify keywords that 
correspond to the colors used by certain objects in the user's 
environment. Please consult the section on system colors for more 
information.

David



-----
David Azarewicz  david@88watts.net
Received on Sunday, 24 December 2006 02:30:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:07 UTC