Image
PHP Manual

imagecolorclosesthwb

(PHP 4 >= 4.0.1, PHP 5)

imagecolorclosesthwb — Get the index of the color which has the hue, white and blackness nearest to the given color

說明

int imagecolorclosesthwb ( resource $image , int $red , int $green , int $blue )
Warning

此函式目前沒有參考文件;只有引數列表。

參數

image

An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().

red

Value of red component

green

Value of green component

blue

Value of blue component


Image
PHP Manual