hueRotate

infix fun hueRotate(degrees: Int = 30): HSL

Rotates the hue in the HSL color space by a given number of degrees.

Return

The rotated color as an HSL.

Parameters

degrees

The number of degrees to rotate the hue 0 to 360.