pencil

Colour Keywords

Defining Colours with Keywords

HTML 4.0 officially recognizes 16 “keywords” for defining colours in the BODY BGCOLOR, TEXT, TABLE TD BGCOLOR, etc. tags. While 16 is a very limited set, the colour names are all in English. This makes it easier to define black or white text, for example, than using hex #FFFFFF. (Note: JavaScript also allows for colour names and this list is much longer)

The alphabetical list is:


Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal, White, and Yellow.

Sorted by colour:
Black Gray Silver White
Purple Maroon Red Fuchsia
Navy Blue Teal Aqua
Green Olive Lime Yellow


The similar, in Hex values (browser safe): (10 are the same, 6 different)
#000000 #666666 #CCCCCC #FFFFFF
#990099 #990033 #FF0000 #FF33CC
#330099 #0033FF #006699 #00FFFF
#009900 #999966 #00FF00 #FFFF00

The Hex Colour Table page.

The About Hex Colour Codes page.




©  2007-9 Colour Keywords Page