◄Crt Unit► ◄Contents► ◄Index► ◄Back► CONST { foreground and background colors } Black = 0; Blue = 1; Green = 2; Cyan = 3; Red = 4; Magenta = 5; Brown = 6; LightGray = 7; { foreground colors } DarkGray = 8; LightBlue = 9; LightGreen = 10; LightCyan = 11; LightRed = 12; LightMagenta = 13; Yellow = 14; White = 15; { add for blinking characters } Blink = 128; Unit: Crt Context: HighVideo, LowVideo, TextBackground, TextColor Description The Crt unit defines color constants for convenience. Colors are represented by numbers. Pass a selected color to TextColor or TextBackground. The numbers 0-7 represent colors for foreground and background. The numbers 8-15 represent high-intensity versions of colors 0-7. They are used for foreground only. Use HighVideo and LowVideo to switch foreground colors to high or low intensity. Set blinking text by passing the constant Blink added to the specified color. Monochrome monitors display foreground colors as modified output of monochrome text. Colors may be translated into dim or bright text, possibly with underlining. The translation depends on the particular monitor and graphics card.