Color Names

You define colors in HTML and XHTML using either a color name or a color value. HTML and XHTML support a list of 16 basic color names. Most browsers also support an extended set of color names. The following table lists these extended color names, along with RGB and hexadecimal values for each color. The sixteen color names supported by HTML and XHTML are highlighted in the table. Web-safe colors are displayed in a bold font.

SampleNameRGBHexadecimal
SampleNameRGBHexadecimal
Carey, P. New Perspectives on HTML and XHTML, Course Technology: Boston, 2004.