Last active
May 30, 2023 12:05
-
-
Save mattieb/e9467a57a654f0d75789c6ea4d19de7e to your computer and use it in GitHub Desktop.
prints all 256 available colors using portable-color
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/sh | |
# | |
# portable-color.sh is from https://github.com/mattieb/portable-color/ | |
# | |
. portable-color.sh | |
printf %s 'all-colors:' | |
for n in $(seq 0 256) | |
do | |
printf %s \ $(setaf $n $n) | |
done | |
echo . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment