diff --git a/scripts/24-bit-color.sh b/scripts/24-bit-color.sh index 01236b4..e425d8f 100755 --- a/scripts/24-bit-color.sh +++ b/scripts/24-bit-color.sh @@ -23,7 +23,7 @@ resetOutput() # $red $green and $blue are integers # ranging between 0 and 255 inclusive rainbowColor() -{ +{ let h=$1/43 let f=$1-43*$h let t=$f*255/43