";
}
else
{
print " | ";
}
print "\n";
print "";
print " | " unless $c;
print "R=$h1 | \n";
unless($r)
{
print "";
print " | " unless $c;
foreach $v2 (0x00,0x33,0x66,0x99,0xcc,0xff)
{
$h2=sprintf("%02x",$v2);
print "G=$h2 | ";
}
print " \n";
}
foreach $v2 (0x00,0x33,0x66,0x99,0xcc,0xff)
{
$h2=sprintf("%02x",$v2);
print "";
print "B=$h2 | " unless $c;
foreach $v3 (0x00,0x33,0x66,0x99,0xcc,0xff)
{
$h3=sprintf("%02x",$v3);
$f="#".($v1<102?'ff':'00').($v3<102?'ff':'00').($v2<102?'ff':'00');
print "#$h1$h3$h2\nR=$v1\nG=$v3\nB=$v2 | ";
}
print " \n";
}
print " \n";
$c=1-$c;
if($t)
{
print " | ";
}
else
{
print " |
";
$r++;
}
$t=1-$t;
}
print "