<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Create colored text from RGB values.
syntax
RGB(
r,
g,
b
)
Parameters
r
Type:
Number
The red value, from 0 to 255.
g
The green value, from 0 to 255.
The blue value, from 0 to 255.
Return Value
i color letter
Returns the color text.
Explanation
Creates a color string. For example, RGB(255,0,0) returns the color red, or "#FF0000".
Supported
○
Script Action
Can be used in server script Ver2 actions
Browser script
Can be used in browser scripts
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind syntax)
reference
GradientColor (GC)
RGB