Created
May 27, 2020 21:49
-
-
Save kunthar/5fe686723f4f4815f5900bb36a4728da to your computer and use it in GitHub Desktop.
show colorscale of xterm
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 - | |
#title :colorscale.sh | |
#description :Show a rainbow of colors. | |
#author :bgw | |
#date :20111002 | |
#version :0.1 | |
#usage :./colorscale.sh | |
#notes : | |
#bash_version :4.1.5(1)-release | |
#============================================================================== | |
for c in {0..255} ; do | |
echo -e "\x1B[38;05;${c}m 38;05;${c}m. " ; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment