Grid.MakeColorRGB

number Grid.MakeColorRGB ( 

number Red,

number Green,

number Blue )

Description

Makes a color value from red, green and blue components. This is a helper function provided as a convenience. It does not directly affect the grid object.

Parameters

Red

(number) The red component (0-255).

Green

(number) The green component (0-255).

Blue

(number) The blue component (0-255).

Returns

(number) Returns a number that can be used as color value for actions that use colors. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions