• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
iGuRu

iGuRu

Real-time Technology News. Opinions & Tweaks

  • / news
  • / infosec
  • / tools
  • / tweaks
  • / dummies
  • / opinions
  • / support
home / tweaks / Change the colors in the Windows 10 Command Prompt

Change the colors in the Windows 10 Command Prompt

09/08/2017 16:11 by Dimitris

In this article, we will see how you can customize font color and background color in Command Prompt in Windows 10.

command prompt - Change the colors in the Command Prompt of Windows 10

 

Command Prompt is a built-in Windows operating system tool that is available from its first release. It allows the user to use the classic DOS commands as well as the Win32 console commands and applications. This is a powerful and extremely useful tool for advanced Windows users. While Microsoft emphasizes PowerShell in the latest versions of Windows 10, the old good cmd.exe application is still widely used in the operating system.

There is a trick that will allow you to change the background color and font color in the command line. This can be done permanently with a simple registry "tease" or completely temporarily with a command in the command prompt itself. Let's see how you can permanently change these colors through the registry, and keep in mind that this trick works on all older versions of Windows starting with Windows NT 4.0.

To permanently change the colors in the Windows 10 Command Prompt, do the following.
1. Open Registry Editor. If you do not know how, then press the Win + R keys at the same time, and in the pop-up window that appears, write the word regedit and press the OK button.
2. Go to the following registry key: HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor
3. On the right, double-click the "DefaultColor" value. If not, create it as a new 32-bit DWORD (even if you are running 64-bit Windows, you will still need to create a 32-bit DWORD value).
4. The DefaultColor hexadecimal value specifies the colors of the background and font in the command line window. Its value must be in hexadecimals and include two color codes, the first for the background and the second for the font, respectively.

commandp1 - Change the colors in the Command Prompt of Windows 10
For example, an 04 data value will set a black background in red.

commandp2 - Change the colors in the Command Prompt of Windows 10

The color code is as follows:
0 black
1 blue
2 green
3 cyan (cyan)
4 red
5 Magenta
6 yellow / brown
7 white
8 gray
9 bright blue
A bright green
B bright blue
C bright red
D bright magenta
It's bright yellow
F white

5. Make the change to the color code as desired, press the OK key, and then simply close the registry editor. Changes will be saved automatically.

To temporarily change the colors of cmd.exe, do the following.

Open the command line and type the following command:
color color_of_color_color (no space between the two color codes)
Use the same color codes as above. For example, to set a white background color in blue letters, issue the command: color F1
The result will be as follows:

commandp3 - Change the colors in the Command Prompt of Windows 10

Change the colors in the Windows 10 Command Prompt was last modified: August 9, 2017, 4: 11 mm by Dimitris

Subscribe to our newsletter

no spam

spread the news

  • Facebook
  • Twitter
  • Reddit
  • Printing
  • Email

Read them Technology News from all over the world, with the validity of iGuRu.gr

Follow us on Google News


Competition: tweaksDay: 64-bit, color, command, I'm sure, prompt

You May Also Like

Do you have anything to post? Send it to Your Post
An easy-to-use new resolution feature is coming to Windows 10
Netstat Command and Network Troubleshooting in Windows 10

About Us Dimitris

Dimitris hates on Mondays .....

Previous Post: « Microsoft redesigns Outlook.com
Next Post: Tails 3.1 browse anonymously on the Internet »

Reader Interactions

Comment Policy:

IGuRu.gr does not publish the comments immediately. Malicious comments, comments that include ads, or comments that are offensive are deleted without notice. We do not adopt the opinions expressed by our readers.
Your comments will be displayed after approval by the administrators


Leave your comment
Ακύρωση απάντησης

Your email address is not published. Τα υποχρεωτικά πεδία σημειώνονται με *

 

 © 2021 · iGuRu.gr · ☢ · Keep It Simple Stupid Genesis theme

about  ·   get in touch  ·  rss  ·  sitemap  ·  cough

loadingCancel
Could not post post - check your email address!
Email verification failed, please try again
Your blog can not post posts via email.