pub fn color(id: &str) -> Option<Color>
Resolve a colour slot in the active mode. None when the slot is missing, empty, or not a Slot::Color (use paint() if a gradient should also be acceptable).
None
Slot::Color
paint()