This page gives you an idea of values for colours to use with attributes such as bgcolor. In the past you had to just use the hexadecimal RGB codes which are still in use. However with the HTML standard v4.0. The colour name option became available for 16 colours shown below.
HTML COLOUR GUIDE
Now with most modern browsers (i.e.. HTML v4.0 compliant) using either the RGB value or color name (see below) will work
for example this tables cell backgrounds are set with bgcolor = "#00FFFF" on the left and bgcolor = "aqua" on the right
| ||RGB Values||Color Names|
You can also code your own RGB codes
But note that others are using 256 colour monitors so not all will appear and a browser will alter the colour displayed to closest match which might ruin display
Modern browsers also support an extended color name set based on the X windows system. This defines several hundred colours.
These sites have a list of these codes
- Excellent guide to RGB codes
- Guide to some of the extended colour names
- Excellent tool for picking your RGB codes