Windows 7 - Add some custom colors to your command prompt


  • Just as for the previous version of Windows, the command prompt can be accessed via All Programs, Accessories or using the "cmd" command.
  • From there you will get the monotonous bclack screen and white fonts interface.
  • However, it is possible under Windows 7 to change the background color and font.

Getting Started

  • Click the Start button.
  • In Run, type the command regedit and validate OK.
  • Move through these keys in the registry.
HKEY_CURRENT_USER\Software\Microsoft\Command Processor
  • Select the DefaultColor value.
  • To change the value double click on it, the default value is 0.
  • Here his the list of color combinations that can be used. Simply change the default value "0" with one of these.

  • To change the background color and font simply replace the value:
  • E.g A6
  • Restart your PC and this will give you a green background with yellow font.


Thanks to Tribun for this tip.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Windows 7 - Add some custom colors to your command prompt », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (