- 1 year ago
Change command window color scheme when running in terminal mode?
In Windows, you can change the command window color scheme when running in terminal mode using the color
command. The color
command allows you to set the foreground and background colors for the command prompt window.
Here's how you can change the color scheme in the command window:
Open the command prompt.
Use the
color
command followed by a two-digit hexadecimal number to specify the color scheme. The first digit represents the background color, and the second digit represents the foreground color.For example, to set the command window to have a black background and white text, you would use:
cmdcolor 07
Here's a list of some commonly used color codes:
- 0: Black
- 1: Blue
- 2: Green
- 3: Aqua
- 4: Red
- 5: Purple
- 6: Yellow
- 7: White
- 8: Gray
- 9: Light Blue
- A: Light Green
- B: Light Aqua
- C: Light Red
- D: Light Purple
- E: Light Yellow
- F: Bright White
So, for example, to set a light green background and bright white text, you would use:
cmdcolor A0
Press Enter to apply the new color scheme. The command prompt window will update with the new colors.
Note that the changes you make with the color
command will only affect the current command prompt window. If you want to change the default color scheme for all command prompt windows, you can modify the properties of the command prompt shortcut. Right-click on the command prompt shortcut, select "Properties," and then navigate to the "Colors" tab to customize the colors.