web analytics

How to change the background color in DOS

The value DefaultColor controls the foreground and background colors used in command prompt windows. It has a default value of 0, for standard white text on a black background.
CHANGING DOS BACKGROUND
Open your registry (press win+r and type regedit , hit enter )
goto

[HKEY_CURRENT_USERSoftwareMicrosoftCommand Processor]

u’ll find “DefaultColor”

You can replace it’s value with a two-digit hexadecimal number, in which the first digit selects a background color and the second a foreground color. The hexadecimal codes are:

Hexadecimal 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

A value of F0, for example, would give black text on a white background, and 1E would yield yellow text on a blue background.

The change should take effect the next time you open a console window.

Blog Widget by LinkWithin

Incoming search terms for the article:


Related posts:

  1. Change aero glass color according to your desktop background
  2. DOS event monitoring
  3. How to save the Ouput of a DOS Command in text file
  4. [HOW TO]Change welcome/logon screen in Windows 7
  5. Change the color of folders in Windows
  6. Add funny effects to your photos using PicJoke
  7. All windows games cheats and cracks
  8. [HOW TO]Change windows xp boot screen
  9. Hide ur drives || Lock ur drives
  10. Change the text on Start button in XP

Comments are closed