use \[\033[38;5;Nm\]
where N is a number from 0 to 255. you can see the colors with
for i in {0..255}; do echo -e "\e[38;05;${i}m${i}"; done | column -c 80 -s ' '; echo -e "\e[m"
where N is a number from 0 to 255. you can see the colors with
for i in {0..255}; do echo -e "\e[38;05;${i}m${i}"; done | column -c 80 -s ' '; echo -e "\e[m"
No comments:
Post a Comment