De-allocate a color for an image
$image
$color
De-allocates a color previously allocated with imagecolorallocate or imagecolorallocatealpha.
image
A GdImage object, returned by one of the image creation functions, such as imagecreatetruecolor.
color
The color identifier.
Always returns true.
true
gd
Example #1 Using imagecolordeallocate
<?php $white = imagecolorallocate($im, 255, 255, 255); imagecolordeallocate($im, $white); ?>