advertisement | HTML COLOUR GUIDE | 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.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 Colour Guide | RGB Values | Color Names | | #000000 | black | | #808080 | grey | | #FFFFFF | white | | #C0C0C0 | silver | | #008000 | green | | #00FF00 | lime | | #800000 | maroon | | #00FFFF | aqua | | #0000FF | blue | | #FF00FF | fuschia | | #000080 | navy | | #808000 | olive | | #800080 | purple | | #FF0000 | red | | #008080 | teal | | #FFFF00 | yellow |
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. For example These sites have a list of these codes - www.davesite.com/webstation/html/hexchart.shtml
- Excellent guide to RGB codes
- www.xpertz.com/html/colors.shtml
- Guide to some of the extended colour names
- www.echoecho.com/toolcolorpicker.htm
- Excellent tool for picking your RGB codes
|