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

line: 464

color.blink()

start blinking text

line: 527

color.bold()

start bold text

line: 515

color.count()

get count of colors in the current terminal

line: 214

color.debugoff()

disable debug flag

line: 225

color.debugon()

enable debug flag

line: 219

color.debugstatus()

show debugging status

line: 231

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

line: 566

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

line: 484

color.help()

show help

line: 241

color.invert()

start inverted text

line: 533

color.list()

a little helper: show colors and the color codes

line: 380

color.preset()

set colors of a preset
🟩 param  string  label of a preet

line: 493

color.presets()

little helper: sow defined presets and its preview

line: 418

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

line: 580

color.reset()

reset all colors to terminal default

line: 509

color.set()

write ansicode to set color combination
🟩 param  string  color 1 as ansi value
🟩 param  string  color N as ansi value

line: 543

color.underline()

start underline text

line: 521


Generated with Bashdoc v0.7