---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`
