Last active
July 8, 2021 20:18
-
-
Save mfurquimdev/e98a40be604e295ac91408b342b66128 to your computer and use it in GitHub Desktop.
A variety of special mod, and {fore,back}ground colors.
This file contains hidden or 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 m in {0..9}; do | |
| for i in {0..9}; do | |
| for C in {30..37} {90..97}; do | |
| echo -en "\033[${i};${m};${C}m" | |
| printf "e[%2d;%2d;%3d" ${i} ${m} ${C} | |
| echo -en "\033(B\033[m " | |
| done | |
| echo | |
| done | |
| echo | |
| done | |
| echo | |
| for m in {0..9}; do | |
| for i in {0..9}; do | |
| for C in {40..47} {100..107}; do | |
| echo -en "\033[${i};${m};${C}m" | |
| printf "e[%2d;%2d;%3d" ${i} ${m} ${C} | |
| echo -en "\033(B\033[m " | |
| done | |
| echo | |
| done | |
| echo | |
| done | |
| echo | |
| echo -e "\033(B\033[m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment