Equinox Online Help - Language Reference - A to Z

Home

ColourName, ColorName

Applies to
Syntax

ColourName (IndexExpression)
ColorName(IndexExpression)

Action[Function] Returns a string allocated to a particular colour.
ScopeUsable anywhere.
Notes

All Equinox colour values are indexes into a palette stored with each application. This statement returns the name of the colour based on the index value (0 to 255) supplied in IndexExpression. Colour names are defined in the Colour Palette entry in the Property dialog.

CategoryFonts and Colours
See Also ChangePalette, ColourNumber_ColorNumber, FontHandle, FontName, FontNumber, PaletteRGB, RGB, RGBValues
Example

This line displays the string describing the colour at palette index number 27.

Print ColourName(27)