Created January 5, 2016 10:44
Save yous/c303055cf65a99d65488 to your computer and use it in GitHub Desktop.
Print 256 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 #!/usr/bin/env bash for i in {0..7}; do next=$((${i} + 8)) printf "\x1b[38;5;${i}mcolour${i} \x1b[38;5;${next}mcolour${next}\n" done for i in {16..255}; do printf "\x1b[38;5;${i}mcolour${i} " if [[ $((${i} % 6)) == 3 ]]; then printf "\n" fi doneYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4