pub(crate) fn lookup_palette_index(s: &str) -> Option<usize>
Given a named color (e.g., “red”, “mediumorchid”), returns the index of that color into COLORS and NAMES.
COLORS
NAMES