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.
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)