Files
cheatsheet-tldr/tldr/windows/color

22 lines
538 B
Plaintext

---
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}}`