Color.getHSBColor

Color.getHSBColor

Class Overview | Class Members | This Package | All Packages

Syntax
public static Color getHSBColor( float h, float s, float b )
Parameters
h
the hue component.
s
the saturation of the color.
b
the brightness of the color.
Returns
a Color object with the specified hue, saturation, and brightness.
Description
Creates a Color object based on values supplied for the HSB color model.

Each of the three components should be a floating-point value between zero and one (a number in the range 0.0 ≤ h, s, b ≤ 1.0).