Skip to content

Instantly share code, notes, and snippets.

@grugq
Created December 10, 2018 17:37
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save grugq/23dca2557e45f8c16a38e8acf50595a1 to your computer and use it in GitHub Desktop.
Save grugq/23dca2557e45f8c16a38e8acf50595a1 to your computer and use it in GitHub Desktop.
Dracula theme for the Linux console
# Dracula Theme for Consoles
#
# Console colors are set by the `setvtrgb` command which takes as argument a
# file of exactly three lines of text. These lines are the 0..255 values for
#
# red: black,red,green,yellow,blue,magenta,cyan,white,bold_black,bold_red,bold_green,bold_yellow,bold_blue,bold_magenta,bold_cyan,bold_white
# grn: black,red,green,yellow,blue,magenta,cyan,white,bold_black,bold_red,bold_green,bold_yellow,bold_blue,bold_magenta,bold_cyan,bold_white
# blu: black,red,green,yellow,blue,magenta,cyan,white,bold_black,bold_red,bold_green,bold_yellow,bold_blue,bold_magenta,bold_cyan,bold_white
#
# Needless to say, this is a very annoying format. Here are the values for
# applying the Dracula color scheme to a console with `setvtrgb`
#
# save this file as "dracula_theme.vt" and run the following cmd line in a console
#
# grep -v '^#' dracula_theme.vt | setvtrgb -
#
0,255,80,241,202,255,139,191,104,255,90,244,202,255,154,230
0,85,250,250,169,121,233,191,104,110,247,249,169,146,237,230
0,85,123,140,250,198,253,191,104,103,142,157,250,208,254,230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment