Equinox Online Help - Language Reference - A to Z

Home

RGB

Applies to
SyntaxRGB (RedExpression, GreenExpression, BlueExpression [, SpareExpression])
Action[Function] Returns a composite RGB value from the component colours.
ScopeUsable 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.

CategoryFonts 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)