Function: setHue()
ts
function setHue(color, hue): Color;Defined in: setHue.ts:11
Set the hue value for a color to a specific value.
Parameters
| Parameter | Type | Description |
|---|---|---|
color | Color | the color to set the value for |
hue | number | a number between [0,360] representing hue |
Returns
a new color with the new hue value