Constructs an instance of this class with the given
hue, saturation, and brightness.
*
@param hue the hue value for the HSB color (from 0 to 360)
@param saturation the saturation value for the HSB color (from 0 to 1)
@param brightness the brightness value for the HSB color (from 0 to 1)
*
@exception IllegalArgumentException <ul>
<li>ERROR_INVALID_ARGUMENT - if the hue is not between 0 and 360 or
the saturation or brightness is not between 0 and 1</li>
</ul>
*
@since 3.2
Constructs an instance of this class with the given hue, saturation, and brightness. * @param hue the hue value for the HSB color (from 0 to 360) @param saturation the saturation value for the HSB color (from 0 to 1) @param brightness the brightness value for the HSB color (from 0 to 1) * @exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the hue is not between 0 and 360 or the saturation or brightness is not between 0 and 1</li> </ul> * @since 3.2