Hi,
Color definitions in html code consist of a var for red, green and blue (#RRGGB😎. If you know this, and you know which values they can take ( 1-9 and a-f) you could write a nested loop for each color and step through the values. Build a table this way where you cgange the background color.
something along the lines of:
red[0] = "0";
red[1] = "2";
...
red[10]= "a";
red[11] = "b";
$r=0;
$g = 0;
$b = 0;
for $r <= 15
{
for $g <=15
{
for $b <=15
{
<td style: bgcolor=$red[$x]$green[$g]$blue[$b] ></td>
$b++
}
<tr><tr>
$g++
}
$r++
}
I have not tested or done this before, so you will propably have to work with the code a bit, but I am sure the basic idea sould work. (Certainly the style-tag will give you problems. If you don't know how to use styles, have a look at www3c.org, go to stylesheet specificiations and check for inline style. You can probably use the html background color tags too, but some browsers might not do this properly.)
J.