In Windows 7, usually when we open a command prompt window, the command line is black and white, compared to other windows in the system desktop, the individual thought it would be too dull, then, what can be changed the color of the command prompt window?
In fact, we can through the color command to the command Line window to change a color clothing. "Color" is a unique command in a Windows system that is used to change the color of a command line window.
Command format: color[attr]
Attr is used to specify the properties of the console output color. The color properties are specified by two hexadecimal digits, where the first is the background color, the second is the foreground color, and a total of 16 colors are available, and the specific color codes are as follows:
0-Black 8-gray
Blue 9-Light blue
2-Green A-light green
3-Lake Blue B-Shallow green
4-Red C-light red
5-Purple D-Light purple
6-Yellow e-light yellow
7-White F-bright white
Remind:
You must leave a space between the command and the argument, and no spaces between the two color parameters. Like I'm going to set the command window background is blue, the foreground color is lavender, then enter the command "color 1d". If you want to restore the system's default color, enter a color command with no arguments.
However, the above color setting is only temporary, and if you restart the command, the window restores the default color. Here's another way to keep our command window in the color set.
Right-click the title bar of the command window, select the Properties command from the pop-up menu, and open the Properties window for the command prompt.
There are 4 tabs here, you can set the cursor size, full-screen display, font, character size, window size, window position, and color of screen text and screen background, and then click OK when you are finished setting up a confirmation window and click OK.