Gets the color for a specified index.
imageAn image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
index
Returns an associative array with red, green, blue and alpha keys that contain the appropriate values for the specified color index.