Windows 7 - Add some custom colors to your command prompt

December 2016


  • 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.

Related :

This document entitled « Windows 7 - Add some custom colors to your command prompt » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.