Setup Palettes

Summary

Creates an array of color palettes that can be used for choosing sets of styles for color themes.

Syntax

array = RunMacro("G30 setup palettes")

Return Value

An array of color palettes. Each palette is an array with the following elements

Element Type Contents
1 Integer The ID of the From color
2 Integer The ID of the To color
3 Array An options array with two options:- "Method", with the value "HSV"- "Spiral", with the value "Long" or "Short"

Here is an example of a color palette:

{19, 5, {{"method","HSV"},{"spiral","long"}}}

Notes

  • The IDs for the colors used in the color palettes indicate the element in the array of colors gotten with Setup Colors.

  • The color palettes are the same as the default color palettes for color themes in the Standard Interface.