Home > @infiniteobjects/data-types > Color > spin
Spin the hue a given amount. Calling with 0, 360, or -360 will do nothing.
Signature:
spin(amount: number): Color;
Parameter | Type | Description |
---|---|---|
amount | number | The amount to spin by. The valid range is -360 to 360. |
Returns: