imagecolordeallocate

De-allocate a color for an image

&reftitle.description; `bool` `imagecolordeallocate` `GdImage` `image` `int` `color`

De-allocates a color previously allocated with `imagecolorallocate` or `imagecolorallocatealpha`.

&reftitle.parameters;

&gd.image.description;

`color`

- The color identifier.

&reftitle.returnvalues;

&return.success;

&reftitle.changelog;

&Version; | &Description;
&gd.changelog.image-param;

&reftitle.examples;

### Using `imagecolordeallocate`

    <?php
    $white = imagecolorallocate($im, 255, 255, 255);
    imagecolordeallocate($im, $white);
    ?>

&reftitle.seealso;

- `imagecolorallocate`
- `imagecolorallocatealpha`