Php Imagecolordeallocate
# PHP imagecolordeallocate - Deallocate an image color
[PHP Image Processing](#)
imagecolordeallocate β Deallocate an image color.
### Syntax
bool imagecolordeallocate ( resource $image , int $color )
The imagecolordeallocate() function deallocates a color previously allocated by [imagecolorallocate()](#) or [imagecolorallocatealpha()](#).
### Example
The output of the above example will be an image like this:
!(#)
### Related Articles
Allocates a color for an image.
Allocates a color for an image with transparency.
[PHP Image Processing](#)
YouTip