These docs are for v1.0. Click to read the latest docs for v1.2.

SPIN

Creates a new color from the specified color by rotating the hue in the HSL color space.

Syntax

=SPIN(color, amount)

Arguments

ArgumentTypeDescription
colorColorThe color to spin.
amountNumberThe number of degrees to rotate the hue for the given color, from 0 to 360.

Examples

=SPIN("#00ff00", 180)#ff00ffff
Rotates the hue of the color #00ff00ff by 180 degrees.