User Tools

Site Tools


color

This is an old revision of the document!


Color


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 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.

Example:

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 functions that have a color parameter will provide a color picker button in its visual node.

The following scripting functions include a color parameter:

color.1502740324.txt.gz · Last modified: 2017/08/14 12:52 by justin