Change the color of the command prompt window in WIN7

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.