Skip to content

Instantly share code, notes, and snippets.

@hipsterjazzbo
Last active April 13, 2019 22:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hipsterjazzbo/6d9b933aaa4058cafe78 to your computer and use it in GitHub Desktop.
Save hipsterjazzbo/6d9b933aaa4058cafe78 to your computer and use it in GitHub Desktop.
Solarized Colors as Bash Variables (ansi colors, xterm-256)
#!/bin/bash
BASE03="\[\033[38;5;234m\]"
BASE02="\[\033[38;5;235m\]"
BASE01="\[\033[38;5;240m\]"
BASE00="\[\033[38;5;241m\]"
BASE0="\[\033[38;5;244m\]"
BASE1="\[\033[38;5;245m\]"
BASE2="\[\033[38;5;254m\]"
BASE3="\[\033[38;5;230m\]"
YELLOW="\[\033[38;5;136m\]"
ORANGE="\[\033[38;5;166m\]"
RED="\[\033[38;5;160m\]"
MAGENTA="\[\033[38;5;125m\]"
VIOLET="\[\033[38;5;61m\]"
BLUE="\[\033[38;5;34m\]"
CYAN="\[\033[38;5;37m\]"
GREEN="\[\033[38;5;64m\]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment