Hallo,
Guten Tag!
Ich hab versuch eine Farbtabelle mit einem PHP-Code zu generieren.
Probiers mal damit:
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<?php
for ($i=0; $i<216; $i++) {
if ($i % 18 == 0) echo "</tr><tr>\n";
$col = '#' . sprintf('%06x', ($i % 6) * 51 + floor(($i % 36)/6) * 13056 + floor($i/36) * 3342336);
echo "\t<td style="background-color:$col"><img border="0" height="12" src="blind.gif" width="12" onclick="CloseDown('$col')"></td>\n";
}
?></tr>
</table>
Gruß
Ralf