Function anstyle_lossy::xterm_to_rgb
source · pub const fn xterm_to_rgb(color: Ansi256Color, palette: Palette) -> RgbColor
Expand description
Lossily convert from 256-color to RGB
As 256-color palette is a superset of 4-bit colors and since the palette for 4-bit colors is
terminal/user defined, a palette::Palette
must be provided to match against.