Equinox Online Help - Language Reference - A to Z

Home

PaletteRGB

Applies to
SyntaxPaletteRGB (Index)
Action[Function] Returns the RGB value for a specified palette index.
ScopeUsable anywhere.
Notes

Equinox uses a palette of 256 colours, which can be changed in the form designer and elsewhere. This function retrieves an RGB value for a specified index. The value returned is an unsigned long.

CategoryFonts and Colours
See Also ChangePalette, ColourName_ColorName, ColourNumber_ColorNumber, FontHandle, FontName, FontNumber
Example

This example retrieves the RGB value of palette index 27.

ulong ulColour

ulColour = PaletteRGB(27)