Tutorial #5: The Color Coder
Whereas ancient browser versions (i.e., 2.0) only allowed for 16 named colors, modern browsers allow for 140 different ones. Each is shown below in their full beauty, along with their actual color name (column 2), hexadecimal value (column 3) and its nearest web-safe color (column 4).
Depending on the monitor, some will display the actual color, and some will display the nearest "safe" color. Some monitors and browsers may only be able to display a limited range of colors, and so will often default to the nearest one. Developers must be aware of these possibilities when creating their sites, because their appearance can vary considerably across users. What looks good on one monitor may look terrible on another.
These colors can be used to specify a background color (bgcolor="") in the BODY tag, as well as in TABLE, TR, TH, and TD tags. You can also use the same colors in FONT and H1-H6 tags (color=""). They can also be used in the HR tag using the same color="" specification. (If you use hexadecimal color codes, be sure to always put the # symbol in front of it---like color="#F0F8FF")
| Color |
Color Name |
Hexadecimal Value |
Nearest Web-Safe Color |
| |
aliceblue |
F0F8FF |
FFFFFF |
| |
antiquewhite |
FAEBD7 |
FFFFCC |
| |
aqua |
00FFFF |
00FFFF |
| |
aquamarine |
7FFFD4 |
66FFCC |
| |
azure |
F0FFFF |
FFFFFF |
| |
beige |
F5F5DC |
FFFFCC |
| |
bisque |
FFE4C4 |
FFFFCC |
| |
black |
000000 |
000000 |
| |
blanchedalmond |
FFEBCD |
FFFFCC |
| |
blue |
0000FF |
0000FF |
| |
blueviolet |
8A2BE2 |
9933FF |
| |
brown |
A52A2A |
993333 |
| |
burlywood |
DEB887 |
CCCC99 |
| |
cadetblue |
5F9EA0 |
669999 |
| |
chartreuse |
7FFF00 |
66FF00 |
| |
chocolate |
D2691E |
996600 |
| |
coral |
FF7F50 |
FF6666 |
| |
cornflowerblue |
6495ED |
6699FF |
| |
cornsilk |
FFF8DC |
FFFFCC |
| |
crimson |
DC143C |
CC0033 |
| |
cyan |
00FFFF |
00FFFF |
| |
darkblue |
00008B |
000099 |
| |
darkcyan |
008B8B |
009999 |
| |
darkgoldenrod |
B8860B |
CC9900 |
| |
darkgray |
A9A9A9 |
999999 |
| |
darkgreen |
006400 |
006600 |
| |
darkkhaki |
BDB76B |
CCCC66 |
| |
darkmagenta |
8B008B |
990099 |
| |
darkolivegreen |
556B2F |
666633 |
| |
darkorange |
FF8C00 |
FF9900 |
| |
darkorchid |
9932CC |
9933CC |
| |
darkred |
8B0000 |
990000 |
| |
darksalmon |
E9967A |
FF9966 |
| |
darkseagreen |
8FBC8F |
99CC99 |
| |
darkslateblue |
483D8B |
333399 |
| |
darkslategray |
2F4F4F |
333399 |
| |
darkturqoise |
00CED1 |
00CCCC |
| |
darkviolet |
9400D3 |
9900CC |
| |
deeppink |
FF1493 |
FF0099 |
| |
deepskyblue |
00BFFF |
OOCCFF |
| |
dimgray |
696969 |
666666 |
| |
dodgerblue |
1E90FF |
0099FF |
| |
firebrick |
B22222 |
CC3333 |
| |
floralwhite |
FFFAF0 |
FFFFFF |
| |
forestgreen |
228B22 |
339933 |
| |
fuchsia |
FF00FF |
FF00FF |
| |
gainsboro |
DCDCDC |
CCCCCC |
| |
ghostwhite |
F8F8FF |
FFFFFF |
| |
gold |
FFD700 |
FFCC00 |
| |
goldenrod |
DAA520 |
CC9933 |
| |
gray |
BEBEBE |
999999 |
| |
green |
008000 |
009900 |
| |
greenyellow |
ADFF2F |
99FF33 |
| |
honeydew |
F0FFF0 |
FFFFFF |
| |
hotpink |
FF69B4 |
FF66CC |
| |
indianred |
CD5C5C |
CC6666 |
| |
indigo |
4B0082 |
330099 |
| |
ivory |
FFFF0 |
FFFFFF |
| |
khaki |
F0D58C |
FFCC99 |
| |
lavender |
E6E6FA |
FFFFFF |
| |
lavenderblush |
FFF0F5 |
FFFFFF |
| |
lawngreen |
7CFC00 |
00FF00 |
| |
lemonchiffon |
FFFACD |
FFFFCC |
| |
lightblue |
ADD8E6 |
99CCFF |
| |
lightcoral |
F08080 |
FF9999 |
| |
lightcyan |
E0FFFF |
FFFFFF |
| |
lightgoldenrodyellow |
FAFAD2 |
FFFFCC |
| |
lightgreen |
90EE90 |
99FF99 |
| |
lightgrey |
D3D3D3 |
CCCCCC |
| |
lightpink |
FFB6C1 |
FFFFCC |
| |
lightsalmon |
FFA07A |
FF9966 |
| |
lightseagreen |
20B2AA |
33CC99 |
| |
lightskyblue |
87CEFA |
99CCFF |
| |
lightslategray |
778899 |
669999 |
| |
lightsteelblue |
B0C4DE |
CCCCCC |
| |
lightyellow |
FFFFE0 |
FFFFFF |
| |
lime |
00FF00 |
00FF00 |
| |
limegreen |
32CD32 |
33CC33 |
| |
linen |
FAF0E6 |
FFFFFF |
| |
magenta |
FF00FF |
FF00FF |
| |
maroon |
800000 |
990000 |
| |
mediumaquamarine |
66CDAA |
66CC99 |
| |
mediumblue |
0000CD |
0000CC |
| |
mediumorchid |
BA55D3 |
CC66CC |
| |
mediumpurple |
9370DB |
9966CC |
| |
mediumseagreen |
3CB371 |
33CC66 |
| |
mediumslateblue |
7B68EE |
6666FF |
| |
mediumspringgreen |
00FA9A |
00FF99 |
| |
mediumturqoise |
48D1CC |
33CCCC |
| |
mediumvioletred |
C71585 |
CC0066 |
| |
midnightblue |
191970 |
000066 |
| |
mintcream |
F5FFFA |
FFFFFF |
| |
mistyrose |
FFE4E1 |
FFFFFF |
| |
moccasin |
FFE4B5 |
FFFFCC |
| |
navajowhite |
FFDEAD |
FFCC99 |
| |
navy |
000080 |
009999 |
| |
oldlace |
FDF5E6 |
FFFFFF |
| |
olive |
808000 |
999900 |
| |
olivedrab |
6B8E23 |
669933 |
| |
orange |
FFA500 |
FF9900 |
| |
orangered |
FF4500 |
FF3300 |
| |
orchid |
DA70D6 |
CC66CC |
| |
palegoldenrod |
EEE8AA |
FFFF99 |
| |
palegreen |
98FB98 |
99FF99 |
| |
paleturqoise |
AFEEEE |
99FFFF |
| |
palevioletred |
DB7093 |
CC6699 |
| |
papayawhip |
FFEFD5 |
FFFFCC |
| |
peachpuff |
FFDAB9 |
FFCCCC |
| |
peru |
CD853F |
CC9933 |
| |
pink |
FFC0CB |
FFCCCC |
| |
plum |
DDA0DD |
CC99CC |
| |
powerderblue |
B0E0E6 |
CCFFFF |
| |
purple |
800080 |
990099 |
| |
red |
FF0000 |
FF0000 |
| |
rosybrown |
BC8F8F |
CC9999 |
| |
royalblue |
4169E1 |
3366FF |
| |
saddlebrown |
8B4513 |
993300 |
| |
salmon |
FA8072 |
FF9966 |
| |
sandybrown |
F4A460 |
FF9966 |
| |
seagreen |
2E8B57 |
339966 |
| |
seashell |
FFF5EE |
FFFFFF |
| |
sienna |
A0522D |
996633 |
| |
silver |
C0C0C0 |
CCCCCC |
| |
skyblue |
87CEEB |
99CCFF |
| |
slateblue |
6A5ACD |
6666CC |
| |
slategray |
708090 |
669999 |
| |
snow |
FFFAFA |
FFFFFF |
| |
springgreen |
00FF7F |
00FF66 |
| |
steelblue |
4682B4 |
3399CC |
| |
tan |
D2B48C |
CCCC99 |
| |
teal |
008080 |
009999 |
| |
thistle |
D8BFD8 |
CCCCCC |
| |
tomato |
FF6347 |
FF6633 |
| |
turqoise |
40E0D0 |
33FF33 |
| |
violet |
EE82EE |
FF99FF |
| |
wheat |
F5DEB3 |
FFCCCC |
| |
white |
FFFFFF |
FFFFFF |
| |
whitesmoke |
F5F5F5 |
FFFFFF |
| |
yellow |
FFFF00 |
FFFF00 |
| |
yellowgreen |
9ACD32 |
66CC33 |
MKT 444 Course Syllabus
Back to DrGerlich.com
|