SPIN
Creates a new color from the specified color by rotating the hue in the HSL color space.
Syntax
=SPIN(color, amount)
Arguments
Argument | Type | Description |
---|---|---|
color | Color | The color to spin. |
amount | Number | The 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.
Updated about 1 year ago
Did this page help you?