COLOR |
|
| Purpose: | Change the default display colors. |
| Format: | COLOR [BRIght] fg ON [BRIght] bg |
| fg | The new foreground color |
| bg | The new background color |
See also: CLS and Colors and Color Names for details about using colors and the name and numeric codes for colors.
Usage:
COLOR is normally used in batch files before displaying text. For example, to set screen colors to bright white on blue, you can use this command:
color bright white on blue
TCC also supports the CMD.EXE syntax:
COLOR bf
In this syntax, b is a hexadecimal digit that specifies the background color and f is a hexadecimal digit that specifies the foreground color.
If you have ANSI enabled and StdColors and/or InputColors set, they will override a COLOR command.