Published by


Brink's Avatar
Administrator

Posts: 25,184

Show Printable Version 


How to Customize Command Prompt Colors in Windows

information   Information
A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on your computer without using the Windows graphical interface.

In Windows, you can change the color of the screen text, screen background, popup text, and popup background of a command prompt to any color you want.

This tutorial will show you how to customize the colors of a command prompt for your account in Windows 7, Windows 8, and Windows 10.
Note   Note
The colors you set for a command prompt will only be applied to the specific command prompt shortcut that opened it.

CONTENTS:
  • Option One: To Customize Command Prompt Colors in Properties
  • Option Two: To Customize Command Prompt Colors using "Color" Command





Customize Command Prompt Colors in Windows OPTION ONE Customize Command Prompt Colors in Windows
To Customize Command Prompt Colors in Properties

1. Open a command prompt or elevated command prompt using the shortcut or location you want to change the font and font size for.
Note   Note
You could also just directly right click on the command prompt shortcut or file, click/tap on Properties, and go to step 3 below.

2. Right click or press and hold on the title bar of the command prompt, and click/tap on Properties. (see screenshot below)

Name:  command_prompt_colors-1.png
Views: 131
Size:  20.3 KB

3. Click/tap on the Colors tab. (see screenshot below)

4. Select (dot) Screen Text, Screen Background, Popup Text, or Popup Background for the item you want to change the color of.

5. Select the color you want for this item, or enter/select the RGB values you want for this item.
Note   Note
You can see a preview of your Select Screen Colors and Selected Popup Colors changes at the bottom to see if you like it or not before clicking on OK to apply.

6. Repeat steps 4 and 5 above if you would like to change the color of another item.

7. When finished changing colors for items, click/tap on OK.

Name:  command_prompt_colors-2.png
Views: 130
Size:  37.6 KB

8. When finished, you can close the command prompt if you like. (see screenshot below)

Name:  command_prompt_colors-3.png
Views: 129
Size:  6.7 KB






Customize Command Prompt Colors in Windows OPTION TWO Customize Command Prompt Colors in Windows
To Customize Command Prompt Colors using "Color" Command

Note   Note
The custom foreground (text) and background colors you set using this option will only be temporary, and only used while the command prompt is open unless you use Option One above to set the current colors as default.
Name:  Color_command-1.png
Views: 148
Size:  38.5 KB

1. While you have a command prompt or elevated command prompt open, do step 2 (custom color) or step 3 (original color) below for what you would like to do.


 2. To Customize Background and Foreground Colors of Command Prompt

A) Type the command below into the command prompt, and press Enter. (see screenshot below)

color <BackgroundColorValue><ForegroundColorValue>

Note   Note
Substitute <BackgroundColorValue> in the command above with the value (ex: "1") from the table below of the color (ex: "Blue") you want for the command prompt background.

Substitute <ForegroundColorValue> in the command above with the value (ex: "F") from the table below of the color (ex: "Bright white") you want for the command prompt foreground (text).

For example: color 1F

Value Color
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
Name:  Color_command-2.png
Views: 128
Size:  15.1 KB


 3. To Restore Background and Foreground Colors used when Command Prompt was Started

A) Type color into the command prompt, and press Enter. (see screenshot below)

Name:  Color_command-3.png
Views: 130
Size:  16.0 KB


That's it,
Shawn


Related Tutorials