color

Windows CMD · Terminal · available in the simulator

What it does

Changes the console window colors. 1st digit = background, 2nd = foreground (hex 0-F).

Syntax

color [atributo]

Options and parameters

  • 0-F

    0 black, A green, F white, etc.

  • atributo

    Two hexadecimal digits: the first is the background and the second is the foreground (0 black, A light green, F white).

    color 0A

Usage examples

  • color 0A
  • color F0
  • color

Notes and common mistakes

  • Without arguments, restores original colors.
Practise color

Related commands