pub(crate) fn parse_background_color(s: &str) -> Result<Option<Color>, String>