COLORSPIN (Color, Amount) COLORSPIN (Color; Amount)
Color
Color Color
The color whose hue should be changed.
Amount
Number Number
The degrees that the hue should be rotated by. While the amount may be any number, the meaningful range is 0 to 360. Rotating a color by 360 degrees returns the same color.
Returns
Color Color
A version of the given color with a new hue.
Returns a color whose hue has been changed by the given amount. The implementation uses the Hue-Saturation-Lightness (HSL) color model to change the hue.
This function is not commonly supported by spreadsheets.
Examples
COLORSPIN (Color.Red, 200)
COLORSPIN (Color,Red; 200)
Returns the default red color, rotated by 200 degrees, yielding blue.
COLORSPIN (Color.Red, { 200, 100 })
COLORSPIN (Color,Red; { 200; 100 })
Returns the default red color, rotated by 200 and 100 degrees, yielding an array containing the colors blue and green.