code: def scolor(self):
          
          global palette
          color = palette[self.color_index]
          if len(palette) - 1 == self.color_index:
              self.color_index = 0
          else:
              self.color_index += 1
          self.color(color)
docs: Set a unique color from a serie