Color Names

Colors can be identified by one of 140 color names originally developed for the X Window System. The complete list appears below.

Color names are only supported by Navigator versions 2.0 and higher and Internet Explorer versions 3.0 and higher. Internet Explorer 2.0 supports the following 16 color names:

aqua

gray

navy

silver

black

green

olive

teal

blue

lime

purple

white

fuschia

maroon

red

yellow

Of the 140 color names, only 10 represent nondithering colors from the Web Palette. They are: aqua, black, blue, cyan, fuschia, lime, magenta, red, white, and yellow.

When viewed on an 8-bit display, the remaining 130 colors will shift to their nearest Web Palette equivalent (or System Palette color). In many cases, the difference is drastic. Many of the pastels shift to solid white.

The “Nearest Web-safe Color” column lists the color that will actually be displayed for each color name on an 8-bit display.

Color Name

RGB Values

Hexa-decimal

Nearest Web-safe Color

aliceblue

240 - 248 - 255

F0F8FF

FFFFFF

antiquewhite

250 - 235 - 215

FAEBD7

FFFFCC

aqua

0 - 255 - 255

00FFFF

00FFFF

aquamarine

127 - 255 - 212

7FFFD4

66FFCC

azure

240 - 255 - 255

F0FFFF

FFFFFF

beige

245 - 245 - 220

F5F5DC

FFFFCC

bisque

255 - 228 - 196

FFE4C4

FFFFCC

black

0 - 0 - 0

000000

000000

blanchedalmond

255 - 255 - 205

FFEBCD

FFFFCC

blue

0 - 0 - 255

0000FF

0000FF

blueviolet

138 - 43 - 226

8A2BE2

9933FF

brown

165 - 42 - 42

A52A2A

993333

burlywood

Get HTML Pocket Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.