imagecolorclosesthwb
Intervention/image
Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
Get the index of the color which has the hue, white and blackness
<?php imagecolorclosesthwb
(
GdImage $image
,
int $red
,
int $green
,
int $blue
):
int