Color.getSaturation

Overview | Methods | Fields | This Package | All Packages

Color.getSaturation

Retrieves the HSB saturation for this color.

Syntax

public float getSaturation()

Return Value

Returns the saturation for this color, where 0 is gray, and 1 is the most saturated.

See Also   getBrightness, getHue