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 |
|
|
antiquewhite |
250 - 235 - 215 |
|
|
aqua |
0 - 255 - 255 |
|
|
aquamarine |
127 - 255 - 212 |
|
|
azure |
240 - 255 - 255 |
|
|
beige |
245 - 245 - 220 |
|
|
bisque |
255 - 228 - 196 |
|
|
black |
0 - 0 - 0 |
|
|
blanchedalmond |
255 - 255 - 205 |
|
|
blue |
0 - 0 - 255 |
|
|
blueviolet |
138 - 43 - 226 |
|
|
brown |
165 - 42 - 42 |
|
|
burlywood |
Get HTML Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.