Citation :
Color
Sets the default console foreground and background colors.
color bf Parameters bf
Specifies color attributes of console output. b is a hexadecimal digit that specifies the background color; f specifies the foreground. Hexadecimal digits have the following values:
0 Black
1 Blue
2 Green
3 Aqua
4 Red
5 Purple
6 Yellow
7 White
8 Gray
9 Light blue
A Light green
B Light aqua
C Light red
D Light purple
E Light yellow
F Bright white
For example, color fc produces light red on bright white.
If no argument is given, this command restores the color to what it was when Cmd.exe started. This value comes from the current console window, the /t command line switch, or from the DefaultColor registry value.
If the specified foreground and background values are the same, color returns ERRORLEVEL 1.
|