coerce switch_tint_color to UIColor