Change Terminal Colors of Console Window in Windows 10

In Windows 10 build 18298, are a number of changes were made to the built-in console subsystem of the operating system. There is a new "terminal" tab in console option that allows adjusting several new options for the Command Prompt, PowerShell, and WSL. There, you can set desired RGB color values for the default foreground and background colors.

Windows Console subsystem is utilized by certain built-in apps of Windows 10, including the Command PromptPowerShell, and WSL. In Windows 10 Build 18298, which represents the upcoming 19H1 feature update, also known as version 1903, you will find a set of new options of the console. Using them, you can change the foreground and background terminal colors of a console window.

These settings are "experimental", because in certain scenarios, it's possible that they might not behave like you would expect them to, may not make it into the next OS release, and may change completely in the final version of the OS.

The colors will be set for the specific shortcut you used to open a console instance. E.g. if you have multiple command prompt shortcuts, you can set the desired foreground and background colors for each of them individually. This way, PowerShell, WSL, and the command prompt may have their own independent settings.

To change the terminal colors of the console window in Windows 10,

  1. Open a new command prompt window, elevated command promptPowerShell, or WSL.
  2. Right-click on the title bar of its window and select Properties from the context menu.Command Prompt Properties
  3. Switch to the Terminal tab.
  4. Under Terminal Colors, enable the option Use Separate Foreground to change the text color.Windows 10 Change Terminal Foreground Color
  5. Fill in the Red, Green, and Blue boxes for the desired color value (see below).
  6. Enable the option Use Separate Background to change the color background color of the console window.
  7. Fill in the Red, Green, and Blue boxes for the desired color value below the check box.Windows 10 Change Terminal Background Color

For example, you can get the following in WSL:

Wsl Custom Terminal Colors

Tip: To find a suitable color value, open Microsoft Paint and click on the Edit color button.Paint Edit Colors Button Windows 10In the color dialog, select the desired color using the provided controls. Now, note the values in Red:Green:, and Blue: boxes.Paint RGB Values Windows 10

That's it.

2 thoughts on “Change Terminal Colors of Console Window in Windows 10

  1. Shyam Reddy

    Thanks Sergey! Thats painfully cumbersome! Will weight for some themes to be added. ;) :P

  2. Phil

    It has been using classic color changer since Windows 95 :)


Leave a Reply

Your email address will not be published. Required fields are marked *