Color.getRGB

Overview | Methods | Fields | This Package | All Packages

Color.getRGB

Retrieves the entire RGB triplet for the color.

Syntax

public int getRGB()

Return Value

Returns the RGB triplet value.

Remarks

This method works identically for Color objects based on system colors or on RGB triplets.