Sets the default foreground and background colors of the console.
COLOR
attr Specifies the color attribute of the console output
Color attributes are specified by two hexadecimal digits -- the first is the background, and the second is the
foreground. Each digit can be any one of the following values:
0 = black 8 = gray
1 = blue 9 = light blue
2 = green A = light green
3 = cyan B = light cyan
4 = red C = light red
5 = purple D = light purple
6 = yellow E = light yellow
7 = white F = bright white
If no argument is given, this command restores the color to the one in effect when CMD.EXE
was started. This value comes from the current console window, the /T switch, or
the DefaultColor registry value.
If the COLOR command is executed with the same foreground and background color, the COLOR command
will set ERRORLEVEL to 1.
For example: "COLOR fc" produces light red on bright white