Math.RGBToNumber

number Math.RGBToNumber ( 

number Red,

number Green,

number Blue )

Description

Returns the number color value from an RGB color value.

Parameters

Red

(number) The red value (between 0 and 255) that you wish to convert.

Green

(number) The green value (between 0 and 255) that you wish to convert.

Blue

(number) The blue value (between 0 and 255) that you wish to convert.

Returns

(number) The converted RGB value as a number.

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