Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Change Command Prompt Text and Background Colors

Change the colors in Windows Terminal or classic Command Prompt, or use the color command for a temporary change in the current session.

Table of Contents

How you change Command Prompt colors depends on what hosts the window. If it opens in a tabbed Windows Terminal window, change the Command Prompt profile’s color scheme. In the classic console, use the title bar’s Properties menu. For a quick temporary change, run the color command.

Change the Command Prompt profile in Windows Terminal

  1. Open Windows Terminal, click the arrow beside the tabs, and choose Settings.
  2. Under Profiles, select Command Prompt and open Appearance.
  3. Pick a Color scheme, save, and open a new Command Prompt tab to check the result.

See Microsoft’s Terminal appearance reference for profile settings. For older console settings such as fonts and window size, see how to customize classic Command Prompt.

Change colors in the classic console

Right-click the window’s title bar, choose Properties, and open the Colors tab. Select Screen Background or Screen Text, then pick a palette entry or adjust its RGB values. Check the preview for readable contrast and click OK.

Tricks to change Command Prompt background color on Windows Picture 1

Try a color for one session

In Command Prompt, run color /? to see the available hexadecimal codes. In a two-character setting, the first value is the background and the second is the text. For example, color 1F gives a blue background and bright white text. Run color without arguments to restore the default. For other basic commands, see the Command Prompt guide.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.