Language Reference - System Colours
System colours |
---|
A colour is an integer number associated with the constants set up in the property dialog. These constants may be used in the method language. The system colours have the following names and values:
0 XXX Blue | 8 XXX LightRed |
1 XXX LightBlue | 9 XXX Red |
2 XXX LightCyan | 10 Magenta |
3 XXX Cyan | 11 XXX LightMagenta |
4 XXX Brown | 12 XXX White |
5 XXX Green | 13 XXX LightGrey [LightGray] |
6 XXX LightGreen | 14 XXX Grey [Gray] |
7 XXX Yellow | 15 XXX Black |
If other colours (16 to 255) are given names in the Property dialog, those names become reserved words in the language and are accessible in the same way as the ones above. The names and numbers are also accessible via ColourName and ColourNumber.
Colours 16 to 255 can be referred to as constants using either the format colourxx where xx is the relevant colour number, or just as the number itself.