Last active
December 13, 2016 13:25
-
-
Save uplus/1f95d993da1ce27dfcf7eec7b5bd50f9 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
colorso () { | |
local c | |
echo | |
for c in {000..255} | |
do | |
echo -n "\e[38;5;${c}m $c" | |
[ $(($c%16)) -eq 15 ] && echo | |
done | |
echo | |
} | |
colorsv () { | |
local c | |
echo | |
for c in {016..255} | |
do | |
echo -n "\e[38;5;${c}m $c" | |
[ $(($((c-16))%6)) -eq 5 ] && echo | |
done | |
echo | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment