This is an old revision of the document!
A color is a scripting data type that, as the name implies, represents an RGB color value and is written as color[r, g, b]. The R, G, and B values correspond to the intensity of the red, green, and blue elements of the color and can range from 0 to 255.
color[0, 0, 255]
The example above represents full intensity blue. The RGB values can be taken from one of the built-in color pickers (for example, by editing a palette color on the Editor Tools tab), or from many common image editing applications like Microsoft Paint.
When working in the visual Script Editor, any function that has a color parameter will provide a color picker button in its visual node (as shown in the example below) that can be clicked on to select a color.
The following scripting functions include a color parameter: