gdImageColorClosest()

 
Syntax
gdImageColorClosest( im, r, g, b )
User Annotations: gdImageColorClosest