Created
February 1, 2018 06:54
-
-
Save cympfh/b1abcde9ff1904889cb59fc8fc77be57 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
#!/bin/bash | |
for i in $(seq 0 15); do | |
for j in $(seq 0 15); do | |
C=$(( i * 16 + j )) | |
printf "\e[48;5;${C}m %03x " "${C}" | |
done | |
printf "\e[0m\n" # reset & newline | |
done |
Author
cympfh
commented
Feb 1, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment