Returns the index of the color in the palette of the image which is "closest" to the specified RGB value and alpha level.
Returns the index of the color in the palette of the image which is "closest" to the specified RGB value and alpha level.