Skip to content

Instantly share code, notes, and snippets.

@ronaldluc
Created July 17, 2021 18:28
Show Gist options
  • Save ronaldluc/6de106e484e8a045b1192054af4454eb to your computer and use it in GitHub Desktop.
Save ronaldluc/6de106e484e8a045b1192054af4454eb to your computer and use it in GitHub Desktop.
V100 ANSI 3-bit 8 color codes python dictionary
_VT100Colors = {n: f'\033[{i+30}m ' for i, n in enumerate([
"black", "red", "green", "yellow", "blue", "magenta",
"cyan", "white", "magic", "default"
])}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment