IMG_FILTER_COLORIZE
<?php $image = imagecreatefrompng("space.png"); imagefilter($image, IMG_FILTER_COLORIZE, 100, 0, 100); header("content-type: image/png"); imagepng($image); imagedestroy($image); ?>