Function anstyle_lossy::rgb_to_xterm
source · pub const fn rgb_to_xterm(color: RgbColor) -> Ansi256Color
Expand description
Lossily convert an RGB value to the 256-color palette
pub const fn rgb_to_xterm(color: RgbColor) -> Ansi256Color
Lossily convert an RGB value to the 256-color palette