Guest User

Untitled

a guest
Oct 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #!/bin/bash
  2. color(){
  3. for c; do
  4. printf '\e[48;5;%dm%03d ' $c $c
  5. done
  6. printf '\e[0m \n'
  7. }
  8.  
  9. IFS=$' \t\n'
  10. color {0..15}
  11. for ((i=0;i<6;i++)); do
  12. color $(seq $((i*36+16)) $((i*36+51)))
  13. done
  14. color {232..255}
Add Comment
Please, Sign In to add comment