Previous: CRT Unit Variables To the Table of Content Next: TextMode Constants

- 4.8.2.1 -
Standard Units
Crt Unit
CRT Unit Variables

Color constants

Targets: MS-DOS, OS/2, Win32 console


CRT Unit

Use these color constants with TextColor and TextBackGround procedures.
 Dark colors (foreground & background): 
 Black 0
 Blue 1
 Green 2
 Cyan 3
 Red 4
 Magenta 5
 Brown 6
 LightGray 7
Light colors (foreground only):
 DarkGray 8
 LightBlue 9
 LightGreen 10
 LightCyan 11
 LightRed 12
 LightMagenta 13
 Yellow 14
 White 15


For flashing (blinking) text foreground, Blink = 128.


Previous: CRT Unit Variables To the Table of Content Next: TextMode Constants
CRT Unit Variables Table of Content TextMode Constants

- 4.8.2.1 -