Take Command / TCC Help v. 13.03

COLOR

Hide Navigation Pane

COLOR

Previous topic Next topic No directory for this topic No expanding text in this topic  

COLOR

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

Purpose:Change the default display colors.

 

Format:COLOR [BRIght] fg ON [BRIght] bg

 

fgThe new foreground color
bgThe 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 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.

Comments (...)