Skip to content

Function: adjustHue()

ts
function adjustHue(color, amount): Color;

Defined in: adjustHue.ts:12

Adjust the hue by the specified amount.

Parameters

ParameterTypeDescription
colorColorthe color to adjust
amountnumberthe amount to adjust in degrees, -360 to 360

Returns

Color

the adjusted color