<?php for ($rr = 0; $rr <= 0xFF; $rr += 0x33) for ($gg = 0; $gg <= 0xFF; $gg += 0x33) for ($bb = 0; $bb <= 0xFF; $bb += 0x33) printf("%02X%02X%02X\n", $rr, $gg, $bb); ?>