colorClosest $image->colorClosest(red,green,blue) object method This returns the index of the color closest in the color table to the red green and blue components specified. If no colors have yet been allocated, then this call returns -1. Example: $apricot = $myImage->colorClosest(255,200,180); #### rgb $image->rgb(colorIndex) object method This returns a list containing the red, green and blue components of the specified color index. Example: @RGB = $myImage->rgb($peachy);