check them out:
http://payb.tc/donate/rainbow =
http://payb.tc/tronlet/rainbow =
http://payb.tc/joelkatz/rainbow =
http://payb.tc/ashmoran/rainbow =
code here:
$addr=substr(preg_replace('/[^a-zA-Z0-9]/','',$_GET['addr']),0,34);
$colors=str_split('00'.addressToHash160($addr),2);
//html version:
//for ($i=0; $i<7; $i++) echo '';
//png version:
$img = imagecreatetruecolor(350,50);
for ($i=0; $i<7; $i++) {
$color = imagecolorallocate($img,hexdec($colors[$i*3+0]),hexdec($colors[$i*3+1]),hexdec($colors[$i*3+2]));
imagefilledrectangle ($img,$i*50,0,$i*50+49,49,$color);
}
header('Content-Type: image/png');
header('Content-Disposition: inline; filename='.$addr.'.png');
header('Content-Transfer-Encoding: binary');
header('Pragma: public');
header("Cache-Control: private",false); // required for certain browsers
ob_clean();
flush();
imagepng($img);
imagedestroy($img);
addressToHash160 function (by theymos, i believe) can be found here: http://pastebin.com/vmRQC7ha
have fun