Function lbl_color

Source
fn lbl_color(
    labels: &Vec<(String, [u8; 3])>,
    idx: u8,
    palette: &Palette,
) -> Color32
Expand description

Colour of a label index using the project’s palette (falls back to the built-in colours).