imagecolorresolvealpha
Intervention/image
Supported Versions: PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
Get the index of the specified color + alpha or its closest possible alternative
<?php imagecolorresolvealpha
(
GdImage $image
,
int $red
,
int $green
,
int $blue
,
int $alpha
):
int