code: def set_color(self, color):
          
          if color is not None:
              self._color_lev = color
              self._need_color_update = True
              self.update()
docs: Set the color
  
          Parameters
          ----------
          color : instance of Color
              The color to use.