Wizard's Place Forum

About Colors

Colors can be indicated in two ways: names or numbers. There are names for about a hundred or so different colors that most browsers recognize. All browsers recognize basic colors like red, black, yellow, etc. but names like seashell or mediumvioletred may not be. You can see a colorchart that shows both color names and numbers for a variety of shades here:

color names and numbers

There are, in fact, about 16 million possible colors on the modern monitor and these all have numeric designations using HEX notation for their red, green and blue components. These numbers are properly indicated with a number sign (#) at the beginning although some browsers interpret them fine without it and then three pairs of HEX (in the range of 0 through 9 and a, b, c, d, e, f -- ie: 16 digits) numbers like this: #dd09c8. Here is a link to a larger color chart with just HEX numbers:

color numbers only

As you can probably see, from the gaps in the numbers in this chart, it doesn't begin to show all the available colors.

It's always the right time to use good code!

[ main help menu ]

design by wizard_mithrandir
Copyright © 2002, 2008, by Stephen B. Henry