Retrieves the red component of the color.
public int getRed()
Returns the red component of the color.
This method works identically for Color objects based on system colors or on RGB triplets.
See Also getBlue, getGreen