diff --git a/themes/colors.theme.bash b/themes/colors.theme.bash index ab4d8197..fbb1dc5c 100644 --- a/themes/colors.theme.bash +++ b/themes/colors.theme.bash @@ -109,7 +109,7 @@ function __color_white { function __color_rgb { r=$1 && g=$2 && b=$3 - [[ $r == g && $g == $b ]] && echo $(( $r / 11 + 232 )) && return # gray range above 232 + [[ $r == $g && $g == $b ]] && echo $(( $r / 11 + 232 )) && return # gray range above 232 echo "8;5;$(( ($r * 36 + $b * 6 + $g) / 51 + 16 ))" }