Crate rcolors

Source

Modules§

ansi
builder
macros
utils

Macros§

black
Return black text as a string.
blue
Return blue text as a string.
color_print
Macros for printing colored text.
color_println
Print colored text with a newline.
color_sprint
Return colored text as a string.
cyan
Return cyan text as a string.
green
Return green text as a string.
hi_black
Return high-intensity black text as a string.
hi_blue
Return high-intensity blue text as a string.
hi_cyan
Return high-intensity cyan text as a string.
hi_green
Return high-intensity green text as a string.
hi_magenta
Return high-intensity magenta text as a string.
hi_red
Return high-intensity red text as a string.
hi_white
Return high-intensity white text as a string.
hi_yellow
Return high-intensity yellow text as a string.
magenta
Return magenta text as a string.
print_black
Print black text without a newline.
print_blue
Print blue text to the console.
print_cyan
Print cyan text to the console.
print_green
Print green text to the console.
print_hi_black
Print high-intensity black text to the console.
print_hi_blue
Print high-intensity blue text to the console.
print_hi_cyan
Print high-intensity cyan text to the console.
print_hi_green
Print high-intensity green text to the console.
print_hi_magenta
Print high-intensity magenta text to the console.
print_hi_red
Print high-intensity red text to the console.
print_hi_white
Print high-intensity white text to the console.
print_hi_yellow
Print high-intensity yellow text to the console.
print_magenta
Print magenta text to the console.
print_red
Print red text without a newline.
print_white
Print white text to the console.
print_yellow
Print yellow text to the console.
println_black
Print black text with a newline.
println_blue
Print blue text to the console with a newline.
println_cyan
Print cyan text to the console with a newline.
println_green
Print green text to the console with a newline.
println_hi_black
Print high-intensity black text to the console with a newline.
println_hi_blue
Print high-intensity blue text to the console with a newline.
println_hi_cyan
Print high-intensity cyan text to the console with a newline.
println_hi_green
Print high-intensity green text to the console with a newline.
println_hi_magenta
Print high-intensity magenta text to the console with a newline.
println_hi_red
Print high-intensity red text to the console with a newline.
println_hi_white
Print high-intensity white text to the console with a newline.
println_hi_yellow
Print high-intensity yellow text to the console with a newline.
println_magenta
Print magenta text to the console with a newline.
println_red
Print red text with a newline.
println_white
Print white text to the console with a newline.
println_yellow
Print yellow text to the console with a newline.
red
Return red text as a string.
white
Return white text as a string.
yellow
Return yellow text as a string.