Sets the color based on the hue, saturation and lightness values given.
name | type | description |
---|---|---|
h | number |
The hue, in the range 0 - 1. This is the base color. |
s | number |
The saturation, in the range 0 - 1. This controls how much of the hue will be in the final color, where 1 is fully saturated and 0 will give you white. |
v | number |
The value, in the range 0 - 1. This controls how dark the color is. Where 1 is as bright as possible and 0 is black. |
This Color object.