spacer.gif (43 bytes)

HTML Workshopspacer.gif (43 bytes)

revisionspacer.gif (43 bytes)colours
Contents
Home
Revision
Tables
Colours
Styles
Javascript

Safe Browser Colours

The 216 non-dithering web page colours are the safest to use in web page design, simply because they will not require the browser to use more than one pixel colour to display the required colour.

Click on the color you want for the background and then see how it looks with each of the 216 colors as a foreground, further down the page.

Hexadecimal code:

RGB code: spacer.gif (43 bytes)

Example

<body bgcolor="#ffffcc">
<td bgcolor="#ffffcc">

Foreground colours

The foreground hexadecimal codes would be used in font colours, or possibly in table cell colours (if the background colour has already been set)

Example

<font color="#000099">
<td color="#000099">

 

(Code for this page based on idea at RichInStyle.com, a good source of information about many aspects of HTML and CSS coding)

 

spacer.gif (43 bytes) spacer.gif (43 bytes)

HTML Workshop

spacer.gif (43 bytes)

revisionspacer.gif (43 bytes)colours