The LazyBoy Library Manual - TextColor

Part of the CRT group.

%imacro TextColor 1
Prefers: AL
Prefers: byte

Sets the lower 4 bits of the color attribute which is used for the foreground of displayed text.

Foreground and background color constants:

clBlack0               
clBlue1               
clGreen2               
clCyan3               
clRed4               
clMagenta5               
clBrown6               
clGray7               
clLightGrayclGray               
clGreyclGray               
clLightGreyclGray               

Foreground color constants, background intensity or blink:

clDarkGray8               
clDarkGreyclDarkGray               
clLightBlue9               
clLightGreen10               
clLightCyan11               
clLightRed12               
clLightMagenta13               
clYellow14               
clWhite15               

Examples:

        TextColor al     ; set the text color to AL
        TextColor clRed  ; set the text color to White
        TextColor [LAST] ; set the text color to value stored in [LAST]

See also: TextBackground and TextAttr