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