Skip to content

Commit

Permalink
colors script
Browse files Browse the repository at this point in the history
  • Loading branch information
doza-daniel committed Jan 10, 2019
1 parent c3d3bee commit 6fd9ee2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .scripts/colors
Original file line number Diff line number Diff line change
@@ -0,0 1,8 @@
#!/bin/sh

for i in {0..255} ; do
printf "\x1b[38;5;${i}m= " "${i}"
if (( $i == 15 )) || (( $i > 15 )) && (( ($i-15) % 12 == 0 )); then
echo;
fi
done

0 comments on commit 6fd9ee2

Please sign in to comment.