COLOR
Sets the colors for the text and background of the command prompt.
COLOR [attr]
Where:
attr
- Specifies the window colors. Two hexadecimal digits are used to set the colors: the first for the background and the second for the text. Each digit is associated with a color:- 0 - Black
- 1 - Dark blue
- 2 - Green
- 3 - Water green
- 4 - Burgundy
- 5 - Violet
- 6 - Olive green
- 7 - Light gray
- 8 - Gray
- 9 - Blue
- A - Lemon green
- B - Light blue
- C - Red
- D - Fuchsia
- E - Yellow
- F - White
If no parameters are specified, the default colors will be restored (white or light gray text and black background). With a single decimal place, the background color returns/remains black, while only the text color changes. If the same number is entered for both background and text, the colors are not set.
Examples:
1. Set the text color to blue and the background color to white:
color f9
2. Reset to default colors:
color
Comments