[go: up one dir, main page]

ansi_to_rgb

Function ansi_to_rgb 

Source
pub const fn ansi_to_rgb(color: AnsiColor, palette: Palette) -> RgbColor
Expand description

Lossily convert from 4-bit color to RGB

As the palette for 4-bit colors is terminal/user defined, a palette::Palette must be provided to match against.