mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 19:42:38 +00:00
22 lines
538 B
Plaintext
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}}`
|