Hier finden Sie alle hexadezimalen Codes der Netscape-Farbpalette!
Der verwendete JavaScript:
{ var ir = 0; var ig = 0; var ib = 0; var x = 0; var textcolor="#ffffff"; var pal = new Array("00", "33", "66", "99", "CC", "FF"); document.write("<table align=\"center\" class=\"s\" width=\"100%\">"); for ( ib = 0 ; ib < 6 ; ib++ ) { document.write(" <tr> ") ; for ( ig = 0 ; ig < 6 ; ig++ ) { for ( ir = 0 ; ir < 6 ; ir++ ) { if((ib + ig + ir)>6) { textcolor = "#000000" } else { textcolor = "#ffffff" } ; document.write("<td style=\"text-align: center; background-color: #" + pal[ir] + pal[ig] + pal[ib] + "; height=\"20\" bgcolor='#" + pal[ir] + pal[ig] + pal[ib] + "'> ") ; document.write("<span style=\"color: " + textcolor + ";\"> #" + pal[ir] + pal[ig] + pal[ib] + "<\/span><\/td> ") ; } ; document.writeln(" <\/tr>") ; } } document.writeln(" <\/tr><\/table>") ; }; }