color
Set the console foreground and background colors. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/color.
-
Set the console colors to the default values:
color
-
List available color values and detailed information:
color /?
-
Set the console foreground and background to a specific color using hexadecimal numbers (
1-9,a-f
):
color {{foreground_code}}{{background_code}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.