Function anstyle_lossy::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.