Skip to content

rotate

rotate(color, degrees): void

Defined in: hue.ts:211

Rotate the hue of color by degrees.

The other transforms — lighten, darken, saturate, desaturate, alpha, clearer, opaquer, negate, greyscale, mix, and clone — are only available as methods on Color.

RGBA

the color

number

degrees to rotate

void