Created
November 3, 2016 22:01
-
-
Save siiky/1addbe94d59c20af04087cdb71ff2530 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 python3 | |
# Display the colors available in a terminal. | |
for color in range(0, 256): | |
for i in range(0, 1): | |
print("\033[38;5;%sm%03s\033[m" % (str(color), str(color)), end=' ') | |
if color % 10 == 0: | |
print() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment