Forrest logo
back to the color tool

color:tldr:70dda

color: Set the console colors to the default values.
$ color
try on your machine

The "color" command is used in command-line interfaces, such as the Windows Command Prompt or PowerShell, to change the color of the text and background in the console window.

In Windows, the "color" command followed by two hexadecimal digits sets the text and background color. The first digit represents the background color, and the second digit represents the text color. The available color codes are:

  • 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

For example, "color 0A" sets the background color to black and the text color to light green. You can experiment with different color combinations to find the one that suits your preferences or improve readability.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the color tool