spin

spin color around the hue wheel by given amount


Parameters

spin color :color
     amount :integer

Returns

  • :color

Examples

copy
spin #red 90 ; => #80FF00 spin #red 180 ; => #00FFFF spin #123456 45 ; => #231256 spin #123456 360 ; => #123456

Related