Color
For the current session, change the foreground and background color of the Command Prompt window. If this parameter is not included, color restores the foreground and background color of the Command Prompt window to the default color.
Syntax
Color [FB]
Parameters
FB
Set the foreground f and background G color. The following table lists hexadecimal numbers that can be used as values of F and G. Value color
0 black
1 blue
2 green
3 lake blue
4 red
5 purple
6 Yellow
7 white
8 gray
9 light blue
A light green
B shallow green
C light red
D light purple
E light yellow
F bright white
/?
Display help at the command prompt.
Note
To set the color of the default Command Prompt window, click the upper-left corner of the Command Prompt window, click "default", and click the "color" tab, click the color to use for "screen text" and "screen background.
For the current session, you can use CMD/T: FB to change the color of the Command Prompt window.
If the foreground and background color are the same, the color command sets errorlevel to 1.
Example
To set the foreground color of the Command Prompt window to red and the background color to white, type:
Color FC
Xox