pub const fn xterm256_to_rgb(idx: u8) -> (u8, u8, u8)Expand description
Look up the RGB value for an xterm-256 index, as (red, green, blue).
Valid for indices 16..=255 (the 6×6×6 cube and 24-step grayscale ramp).
Indices 0..=15 return (0, 0, 0) — they are never looked up via this path
(the caller already has the exact RGB from the palette).