Function Color.fromHsv
Instantiate a Color
given HSV components.
Parameters
Name | Description |
---|---|
hue | Hue angle, in degrees, in the range 0 through 360 . |
saturation | Saturation percentage in the range 0.0 through 1.0 . |
value | Value percentage in the range 0.0 through 1.0 . |
Throws
A RangeError
if any of the given color components are outside their respective ranges.