Add bin/colors

8c98be57b818c3309e359233f47ae1df5832134f
Alexis Sellier committed ago 1 parent c5e079e9
bin/colors added +7 -0
1 +
#!/usr/bin/env python2
2 +
import sys
3 +
for i in range(0, 16):
4 +
    for j in range(0, 16):
5 +
        code = str(i * 16 + j)
6 +
        sys.stdout.write(u"\u001b[38;5;" + code + "m " + code.ljust(4))
7 +
    print u"\u001b[0m"