imagecolorexact
imagecolorexact
(PHP 4, PHP 5, PHP 7)
imagecolorexact — Get the index of the specified color
Description
int imagecolorexact ( resource $image , int $red , int $green , int $blue )
Returns the index of the specified color in the palette of the image.
If you created the image from a file, only colors used in the image are resolved. Colors present only in the palette are not resolved.
Parameters
-
image
-
An image resour