Table of Contents
color.class.sh
List of all functions in alphabetic order
color.bg()
set background color
🟩 param string backround color 0..7 OR color name eg "black" or a valid color value eg "1;30"
🔹 param string optional: foreground color
color.blink()
start blinking text
color.bold()
start bold text
color.count()
get count of colors in the current terminal
color.debugoff()
disable debug flag
color.debugon()
enable debug flag
color.debugstatus()
show debugging status
color.echo()
show a colored text WITH carriage return
🟩 param string foreground color as code / name / value
🔹 param string optional: background color as code / name / value
🟩 param string text to print
color.fg()
set foreground color
🟩 param string foreground color 0..7 OR color name eg "black" or a valid color value eg "1;30"
🔹 param string optional: background color
color.help()
show help
color.invert()
start inverted text
color.list()
a little helper: show colors and the color codes
color.preset()
set colors of a preset
🟩 param string label of a preet
color.presets()
little helper: sow defined presets and its preview
color.print()
show a colored text without carriage return
🟩 param string foreground color as code / name / value or preset
🔹 param string optional: background color as code / name / value
🟩 param string text to print
color.reset()
reset all colors to terminal default
color.set()
write ansicode to set color combination
🟩 param string color 1 as ansi value
🟩 param string color N as ansi value
color.underline()
start underline text
Generated with Bashdoc v0.7