Equinox Online Help - Language Reference - A to Z
RGB |
|
---|---|
Applies to | |
Syntax | RGB (RedExpression, GreenExpression, BlueExpression [, SpareExpression]) |
Action | [Function] Returns a composite RGB value from the component colours. |
Scope | Usable anywhere |
Notes | This function returns an RGB value from component colours represented by the parameters RedExpression, GreenExpression, BlueExpression and SpareExpression. The latter optionally allows a value to be specified for the high order byte, which defaults to zero.These are integers in the range 0-255. |
Category | Fonts and Colours |
See Also | ChangePalette, ColourName_ColorName, ColourNumber_ColorNumber, FontHandle, FontName, FontNumber, PaletteRGB, RGBValues |
Example | This line sets the 27th colour in the palette to a specified colour. ChangePalette 27, RGB(245,20,13) |