Skip to content

Instantly share code, notes, and snippets.

@P4
Last active October 5, 2024 01:35
Show Gist options
  • Save P4/4245793 to your computer and use it in GitHub Desktop.
Save P4/4245793 to your computer and use it in GitHub Desktop.
Color schemes for Windows Command Prompt
Windows Registry Editor Version 5.00
; Default color scheme
; for Windows command prompt.
; Values stored as 00-BB-GG-RR
[HKEY_CURRENT_USER\Console]
; BLACK DGRAY
"ColorTable00"=dword:00000000
"ColorTable08"=dword:00808080
; BLUE LBLUE
"ColorTable01"=dword:00800000
"ColorTable09"=dword:00ff0000
; GREEN LGREEN
"ColorTable02"=dword:00008000
"ColorTable10"=dword:0000ff00
; CYAN LCYAN
"ColorTable03"=dword:00808000
"ColorTable11"=dword:00ffff00
; RED LRED
"ColorTable04"=dword:00000080
"ColorTable12"=dword:000000ff
; MAGENTA LMAGENTA
"ColorTable05"=dword:00800080
"ColorTable13"=dword:00ff00ff
; YELLOW LYELLOW
"ColorTable06"=dword:00008080
"ColorTable14"=dword:0000ffff
; LGRAY WHITE
"ColorTable07"=dword:00c0c0c0
"ColorTable15"=dword:00ffffff
Windows Registry Editor Version 5.00
; Monokai color theme. Based on Sublime Text 2
; for Windows command prompt.
; Values stored as 00-BB-GG-RR
[HKEY_CURRENT_USER\Console]
; BLACK DGRAY
"ColorTable00"=dword:00222827
"ColorTable08"=dword:00414746
; BLUE LBLUE
"ColorTable01"=dword:00a64c1d
"ColorTable09"=dword:00ef9566
; GREEN LGREEN
"ColorTable02"=dword:0000995d
"ColorTable10"=dword:002ee2a6
; CYAN LCYAN
"ColorTable03"=dword:00746a31
"ColorTable11"=dword:00efd966
; RED LRED
"ColorTable04"=dword:002900b0
"ColorTable12"=dword:007226f9
; MAGENTA LMAGENTA
"ColorTable05"=dword:00b63865
"ColorTable13"=dword:00ff81ae
; YELLOW LYELLOW
"ColorTable06"=dword:001f97fd
"ColorTable14"=dword:0074dbe6
; LGRAY WHITE
"ColorTable07"=dword:008a908f
"ColorTable15"=dword:00f2f8f8
Windows Registry Editor Version 5.00
; Low-contrast, pastel color scheme
; for Windows command prompt.
; Values stored as 00-BB-GG-RR
[HKEY_CURRENT_USER\Console]
; BLACK DGRAY
"ColorTable00"=dword:00222222
"ColorTable08"=dword:00454545
; BLUE LBLUE
"ColorTable01"=dword:00a69a7c
"ColorTable09"=dword:00bfad8f
; GREEN LGREEN
"ColorTable02"=dword:00557e6c
"ColorTable10"=dword:007db37d
; CYAN LCYAN
"ColorTable03"=dword:00a18e4c
"ColorTable11"=dword:00d0c16b
; RED LRED
"ColorTable04"=dword:0041569e
"ColorTable12"=dword:006d89cc
; MAGENTA LMAGENTA
"ColorTable05"=dword:009d6d95
"ColorTable13"=dword:00cb8fc1
; YELLOW LYELLOW
"ColorTable06"=dword:002bafca
"ColorTable14"=dword:0056b5bf
; LGRAY WHITE
"ColorTable07"=dword:00808080
"ColorTable15"=dword:00cdcdcd
Windows Registry Editor Version 5.00
; Zenburn is a low-contrast color scheme
; for Windows command prompt.
; See : http://slinky.imukuppi.org/zenburnpage/
; Values stored as 00-BB-GG-RR
[HKEY_CURRENT_USER\Console]
; BLACK DGRAY
"ColorTable00"=dword:003f3f3f
"ColorTable08"=dword:008080c0
; BLUE LBLUE
"ColorTable01"=dword:00af6464
"ColorTable09"=dword:00ffafaf
; GREEN LGREEN
"ColorTable02"=dword:00008000
"ColorTable10"=dword:007f9f7f
; CYAN LCYAN
"ColorTable03"=dword:00808000
"ColorTable11"=dword:00d3d08c
; RED LRED
"ColorTable04"=dword:00232333
"ColorTable12"=dword:007071e3
; MAGENTA LMAGENTA
"ColorTable05"=dword:00aa50aa
"ColorTable13"=dword:00c880c8
; YELLOW LYELLOW
"ColorTable06"=dword:0000dcdc
"ColorTable14"=dword:00afdff0
; LGRAY WHITE
"ColorTable07"=dword:00ccdcdc
"ColorTable15"=dword:00ffffff
@stkb
Copy link

stkb commented Jul 21, 2017

Thanks a lot for these. For reference, here is a great blog post on how Windows Console Host settings work in general: https://blogs.msdn.microsoft.com/commandline/2017/06/20/understanding-windows-console-host-settings/

@hodispk
Copy link

hodispk commented Jan 15, 2018

Thank you!

@qodunpob
Copy link

Thanks to this, I was able to customize cmd at will https://gist.github.com/bashkos/4a2e16aa259f16353c040896b42242f5

@stkb 👍

@travisterrell
Copy link

There is now a Microsoft tool that makes this WAY easier.
https://github.com/microsoft/terminal/tree/master/src/tools/ColorTool

It comes with a 8 themes, or you can get a couple hundred more here:
https://github.com/mbadolato/iTerm2-Color-Schemes/tree/master/schemes

(Just an FYI for those who read the comments before trying this.)

@lakshits11
Copy link

How to reset all these color changes..?? Please help me

@travisterrell
Copy link

@lakshits11 The first one listed (default.reg) should reset the colors to default. (If not, you need to provide a bit of an explanation of what you've done.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment