Crate rustcolor

Source
Expand description

§Rust Color

Rust Color is a terminal color rendering library, thats supports 3/4 bit colors, 8 bit colors, 24 bit color rendering output, compatible with windows.

§ANSI Escape Codes for Terminal Graphics

The ANSI escape code standard, formally adopted as ISO/IEC 6429, defines a series of control sequences. Each control sequence begins with a Control Sequence Introducer (CSI), defined as a scape character followed immediately by a bracket: ESC[.

Modules§

color
This module implements all terminal color rendering operations, color conversions, color name definitions and traits for rust color library.
macros
macros
printer
printer
style
style

Macros§

blink
Prints in terminal an output with fg red, bg black and blink tag.
danger
Prints in terminal an output with fg red and bg black.
error
Prints in terminal an output with fg white and bg red.
info
Prints in terminal an output with fg green and bg black.
primary
Prints in terminal an output with fg blue and bg black.
underline
Prints in terminal an output with fg yellow, bg black and underline tag.
warn
Prints in terminal an output with fg yellow and bg black.