Skip to content

Instantly share code, notes, and snippets.

@GromNaN
Created December 8, 2011 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GromNaN/1446580 to your computer and use it in GitHub Desktop.
Save GromNaN/1446580 to your computer and use it in GitHub Desktop.
Console Colors

Characters Codes to get color in your console

Reset

  • reset \033[0

Text Colors

  • black \033[30
  • red \033[31
  • green \033[32
  • brown \033[33
  • blue \033[34
  • purple \033[35
  • cyan \033[36
  • grey \033[37
  • yellow \033[33

Background Colors

  • black \033[40
  • red \033[41
  • green \033[42
  • brown \033[43
  • yellow \033[43
  • blue \033[44
  • purple \033[45
  • cyan \033[46
  • grey \033[47

Text Style

  • normal \033[0
  • light \033[1
  • underscore \033[4
  • underline \033[4
  • blink \033[5
  • inverse \033[6
  • hidden \033[8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment