dark colors in lowercase

This commit is contained in:
ville rantanen
2015-02-24 12:17:05 +02:00
parent 303b967f41
commit 531a3ffb80

View File

@@ -73,13 +73,20 @@ Z="${E}0m"
CLS="${E}2J${E}H" CLS="${E}2J${E}H"
#list of text colors: #list of text colors:
BLACK="${E}30m" BLACK="${E}30m"
R="${E}31m" R="${E}1;31m"
G="${E}32m" G="${E}1;32m"
B="${E}34m" B="${E}1;34m"
Y="${E}33m" Y="${E}1;33m"
M="${E}35m" M="${E}1;35m"
C="${E}36m" C="${E}1;36m"
W="${E}37m" W="${E}1;37m"
r="${E}0;31m"
g="${E}0;32m"
b="${E}0;34m"
y="${E}0;33m"
m="${E}0;35m"
c="${E}0;36m"
w="${E}0;37m"
#list of BG colors: #list of BG colors:
BGR="${E}41m" BGR="${E}41m"
BGG="${E}42m" BGG="${E}42m"
@@ -90,6 +97,7 @@ BGC="${E}46m"
BGW="${E}47m" BGW="${E}47m"
CONF_LINE=( \${H} \${Z} \${R} \${G} \${B} \${Y} \${M} \${C} \${W} CONF_LINE=( \${H} \${Z} \${R} \${G} \${B} \${Y} \${M} \${C} \${W}
\${r} \${g} \${b} \${y} \${m} \${c} \${w}
\${BLACK} \${BGR} \${BGG} \${BGB} \${BGY} \${BGM} \${BGC} \${BGW} ) \${BLACK} \${BGR} \${BGG} \${BGB} \${BGY} \${BGM} \${BGC} \${BGW} )
for (( r=0; r<${#CONF_LINE[@]}; r++ )); for (( r=0; r<${#CONF_LINE[@]}; r++ ));
@@ -231,9 +239,10 @@ $( gnuplot -e "set term dumb 60 15 enhanced; set parametric; set trange [0:10*pi
* Use ANSI codes directly for colors, or shortcuts: * Use ANSI codes directly for colors, or shortcuts:
${R}red: ${ R}, ${G}green: ${ G}, ${B}blue: ${ B}${Z} ${R}red: ${ R}, ${G}green: ${ G}, ${B}blue: ${ B}${Z}
Colors: R G B C M Y W BLACK Bright colors: R G B C M Y W
${H}Bright modifier: ${ H}, ex: ${H}${Y}yellow ${ H}${ Y}${Z} Dark colors: r g b c m y BLACK
Background colors:${H}${C}${BGM} bright cyan on magenta ${ H}${ C}${ BGM} ${Z} ${H}Bright modifier: ${ H}, ex: ${Z}${y}yel${H}low ${Z}${ y}yel${ H}low
Background colors:${C}${BGM} bright cyan on magenta ${ C}${ BGM} ${Z}
Background colors: BGR BGG BGB BGC BGM BGY BGW Background colors: BGR BGG BGB BGC BGM BGY BGW
Reset colors with ${ Z} Reset colors with ${ Z}