Equinox Online Help - Language Reference - A to Z
ColourNumber, ColorNumber |
|
---|---|
Applies to | |
Syntax | ColourNumber (NameExpression) |
Action | [Function] Returns the index of a particular colour name. |
Scope | Usable anywhere |
Notes | This statement returns the index value of the colour whose name is supplied in NameExpression. All Equinox colour values are indexes into a palette stored with each application. Colour names are defined in the Colour Palette entry in the Property dialog. |
Category | Fonts and Colours |
See Also | ChangePalette, ColourName_ColorName, FontHandle, FontName, FontNumber, PaletteRGB, RGB, RGBValues |
Example | This line displays the palette index number associated with the colour descriptor "Blue Haze". Print ColourNumber("Blue Haze") |