Advertisement

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.

Advertisеment

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.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

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

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.