diff options
author | Von Random <von@vdrandom.org> | 2018-06-28 18:04:51 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2018-06-28 18:04:51 +0300 |
commit | 4e765611f74e4e9a867849a2dcba7cfe43c37e12 (patch) | |
tree | 3fa2f81eb2383e1d0713795f9f3a6e5dd5f813bf | |
parent | 161f665baef04a58147d6ef547c94e9b4a770670 (diff) |
print 8 should be written in white as well, print256colours
-rwxr-xr-x | print256colours.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print256colours.sh b/print256colours.sh index a16db0b..ea5d2e0 100755 --- a/print256colours.sh +++ b/print256colours.sh @@ -14,7 +14,7 @@ function contrast_colour { colour="$1" if (( colour < 16 )); then # Initial 16 ANSI colours - (( colour == 0 )) && printf "15" || printf "0" + (( colour == 0 || colour == 8 )) && printf "15" || printf "0" return fi |