I use PHP and Imagick to change the color of a transparent PNG. The image in the PNG is a simple shape with a transparent background.
I use the colorizeImage function to change the color.
$img = new Imagick("shape.png");
$img->colorizeImage("#99ccff",0.0);
The problem is that Imagick show a dark version of my HEX code (#99ccff
)?
Is there a way to get the exact color (#99ccff
)?
(my PNG is PNG 32 - and the shape is black)