def METHOD_NAME(widget):
    for widget in self.example_widgets:
        if color is None:
            del widget.style.background_color
        else:
            widget.style.background_color = color