to home page

BWRS
SEARCH

HOMETUTORIALSLINKSFORUMGLOSSARYNEWS
 
COLOUR
 
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 ValuesColor Names
 #000000black
 #808080grey
 #FFFFFFwhite
 #C0C0C0silver
 #008000green
 #00FF00lime
 #800000maroon
 #00FFFFaqua
 #0000FFblue
 #FF00FFfuschia
 #000080navy
 #808000olive
 #800080purple
 #FF0000red
 #008080teal
 #FFFF00yellow


You can also code your own RGB codes

   
#00FFCC#C0808C#FFFFCC

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

   
azurefirebrickpowderblue

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 codesBack to top


Back to Library main
BACK TO HTML LIBRARY MAIN