Retrieves the entire RGB triplet for the color.
public int getRGB()
Returns the RGB triplet value.
This method works identically for Color objects based on system colors or on RGB triplets.