Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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}"
printf "\e[0m\n" # reset & newline

This comment has been minimized.

Copy link
Owner Author

cympfh commented Feb 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.