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