Created
September 8, 2016 12:53
-
-
Save benmezger/ad6a29b18344a0370d924b4e462fd593 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
fg = '\033[38;5;' | |
bg = '\033[48;5;' | |
for i in range( 0, 256): | |
n = str(i) | |
fgstr = fg + n + 'm' + n | |
bgstr = bg + n + 'm' 'XXXXX' | |
print fgstr, bgstr, '\033[0m' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment