You are here:  NetStrider » Tutorials » HTMLRef » Color «

HTML Reference Guide
Author: Randy D. Ralph.   In place March 1, 1999.   Copyright © 1999 NetStrider.   Presented as a public service.

BACK Netscape Color Palette TOP

Select a Palette Below or Scroll Down for Colors
Primary Grayscale Blue Blue-Green Green
Yellow-Brown Orange-Red Violet-Purple Pastels How To

primary palette Color NameHexadecimal Code
redFF0000
yellowFFFF00
lime00FF00
cyan00FFFF
blue0000FF
magentaFF00FF

| Palettes | Primary | Grayscale | Blue | Blue-Green | Green | Yellow-Brown | Orange-Red | Violet-Purple | Pastels | How To |
grayscale palette Color NameHexadecimal Code
whiteFFFFFF
whitesmokeF5F5F5
gainsboroDCDCDC
lightgreyD3D3D3
silverC0C0C0
darkgrayA9A9A9
gray808080
dimgray696969
black000000
darkslategray2F4F4F
slategray708090
lightslategray778899
| Palettes | Primary | Grayscale | Blue | Blue-Green | Green | Yellow-Brown | Orange-Red | Violet-Purple | Pastels | How To |
blue palette Color NameHexadecimal Code
steelblue4682B4
royalblue4169E1
cornflowerblue6495ED
lightsteelblueB0C4DE
mediumslateblue7B68EE
slateblue6A5ACD
darkslateblue483D8B
midnightblue191970
navy000080
darkblue00008B
mediumblue0000CD
dodgerblue1E90FF
deepskyblue00BFFF
lightskyblue87CEFA
skyblue87CEEB
lightblueADD8E6
powderblueB0E0E6
| Palettes | Primary | Grayscale | Blue | Blue-Green | Green | Yellow-Brown | Orange-Red | Violet-Purple | Pastels | How To |
blue-green palette
Color NameHexadecimal Code
azureF0FFFF
lightcyanE0FFFF
paleturquoiseAFEEEE
darkturquoise00CED1
cadetblue5F9EA0
mediumturquoise48D1CC
aqua00FFFF
turquoise40E0D0
lightseagreen20B2AA
darkcyan008B8B
teal008080
| Palettes | Primary | Grayscale | Blue | Blue-Green | Green | Yellow-Brown | Orange-Red | Violet-Purple | Pastels | How To |
green palette
Color NameHexadecimal Code
aquamarine7FFFD4
mediumaquamarine66CDAA
darkseagreen8FBC8F
mediumseagreen3CB371
seagreen2E8B57
darkgreen006400
green008000
forestgreen228B22
limegreen32CD32
lime00FF00
chartreuse7FFF00
lawngreen7CFC00
greenyellowADFF2F
palegreen98FB98
lightgreen90EE90
springgreen00FF7F
mediumspringgreen00FA9A
darkolivegreen556B2F
olivedrab6B8E23
olive808000
| Palettes | Primary | Grayscale | Blue | Blue-Green | Green | Yellow-Brown | Orange-Red | Violet-Purple | Pastels | How To |
yellow brown palette Color NameHexadecimal Code
darkkhakiBDB76B
darkgoldenrodB8860B
goldenrodDAA520
goldFFD700
khakiF0E68C
palegoldenrodEEE8AA
blanchedalmondFFEBCD
moccasinFFE4B5
wheatF5DEB3
navajowhiteFFDEAD
burlywoodDEB887
tanD2B48C
rosybrownBC8F8F
siennaA0522D
saddlebrown8B4513
chocolateD2691E
peruCD853F
sandybrownF4A460
darkred8B0000
maroon800000
brownA52A2A
firebrickB22222
| Palettes | Primary | Grayscale | Blue | Blue-Green | Green | Yellow-Brown | Orange-Red | Violet-Purple | Pastels | How To |
orange red palette Color NameHexadecimal Code
indianredCD5C5C
lightcoralF08080
salmonFA8072
darksalmonE9967A
lightsalmonFFA07A
coralFF7F50
tomatoFF6347
darkorangeFF8C00
orangeFFA500
orangeredFF4500
crimsonDC143C
redFF0000
deeppinkFF1493
fuchsiaFF00FF
hotpinkFF69B4
lightpinkFFB6C1
pinkFFC0CB
| Palettes | Primary | Grayscale | Blue | Blue-Green | Green | Yellow-Brown | Orange-Red | Violet-Purple | Pastels | How To |
violet purple palette Color NameHexadecimal Code
palevioletredDB7093
mediumvioletredC71585
purple800080
darkmagenta8B008B
mediumpurple9370DB
blueviolet8A2BE2
indigo4B0082
darkviolet9400D3
darkorchid9932CC
mediumorchidBA55D3
orchidDA70D6
violetEE82EE
plumDDA0DD
thistleD8BFD8
| Palettes | Primary | Grayscale | Blue | Blue-Green | Green | Yellow-Brown | Orange-Red | Violet-Purple | Pastels | How To |
pastels palette Color NameHexadecimal Code
lavenderE6E6FA
ghostwhiteF8F8FF
aliceblueF0F8FF
mintcreamF5FFFA
honeydewF0FFF0
lightgoldenrodyellowFAFAD2
lemonchiffonFFFACD
cornsilkFFF8DC
lightyellowFFFFE0
ivoryFFFFF0
floralwhiteFFFAF0
linenFAF0E6
oldlaceFDF5E6
antiquewhiteFAEBD7
bisqueFFE4C4
peachpuffFFDAB9
papayawhipFFEFD5
seashellFFF5EE
lavenderblushFFF0F5
mistyroseFFE4E1
snowFFFAFA

Primary Grayscale Blue Blue-Green Green
Yellow-Brown Orange-Red Violet-Purple Pastels Page Top
Select a Palette Above or Scroll Up for Colors

How to use Colors

Changing the Color of the Page Background:
<BODY . . .></BODY> Statement
<body bgcolor="cornsilk">
Page Contents
</body>

Page Contents

 
The webpage has a "cornsilk"
background color.
<body bgcolor="#FFF8DC">
Page Contents
</body>

Changing the Color of the Background in Tables:
<TD . . .></TD> Statement
<td bgcolor="indigo">
Table Cell Contents
</td>
The table cell has an "indigo"
background color.
<td bgcolor="#4B0082">
Table Cell Contents
</td>
NOTE:  The <TABLE></TABLE>, <TR></TR> and <TH></TH> statements also
  support background colors but they are best used at the <TD></TD> level.

Changing the Color of Text:
<BODY . . .></BODY> Statement
<body text="darkgreen">
The text color for the whole page
is set to dark green.

</body>
The text color for
the whole page is set
to dark green.
<body text="#006400">
The text color for the whole page
is set to dark green.

</body>
<FONT . . .></FONT> Statement
<font color="darkgreen">
only selected text
</font>

The color of

only selected text

is set to dark green.

<font color="#006400">
only selected text
</font>

| Palettes | Primary | Grayscale | Blue | Blue-Green | Green | Yellow-Brown | Orange-Red | Violet-Purple | Pastels | Top |

Author: Randy D. Ralph.  In place January 26, 1999.  Copyright (c) 1999 NetStrider.  World rights reserved.

Return to the HTML Reference Guide.








Hosted by uCoz