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);