0xFF & ($int >> 0x10), "green" => 0xFF & ($int >> 0x8), "blue" => 0xFF & $int); return imagecolorallocatealpha($img, $color['red'],$color['green'],$color['blue'],$alpha); } ?>