This commit is contained in:
2014-12-03 20:27:47 +01:00
commit 49a500fafb
19 changed files with 2638 additions and 0 deletions

21
standalone/colors.php Executable file
View File

@@ -0,0 +1,21 @@
<?php
$iMin = 0;
$iMax = 256;
$iStep = 20;
$iBoxWidth = 10;
echo '<html><head><title>Colors</title></head><body><table style="border:0;">';
for($i=$iMin;$i<$iMax;$i+=$iStep)
{
for($j=$iMin;$j<$iMax;$j+=$iStep)
{
echo '<tr>';
for($k=$iMin;$k<$iMax;$k+=$iStep)
{
echo '<td style="width:'.$iBoxWidth.'px;height:'.$iBoxWidth.'px;background:rgb('.$i.','.$j.','.$k.')"></td>';
}
echo '</tr>';
}
}
echo '</table><body></html>';