pub fn legend_cols(name: &str, invert: bool) -> Result<Vec<String>>
Expand description

Generate the 9-color palette used in the legend gradient, optionally reversing it