Previous: 4.8.1. CRT Unit Variables To the Table of Contents Next: 4.8.1.2 TextMode Constants
4.8.1. CRT Unit Variables Table of Contents 4.8.1.2 TextMode Constants

- 4.8.1.1 -
Table of Contents
4. Standard Units
4.8. CRT - Keyboard and monitor control routines
4.8.1.1 Color Constants


4.8.1.1 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: 4.8.1. CRT Unit Variables To the Table of Contents Next: 4.8.1.2 TextMode Constants
4.8.1. CRT Unit Variables Table of Contents 4.8.1.2 TextMode Constants

- 4.8.1.1 -