code: def set_palette_colors(self, palette):
          
          palette = palette.split(':')
          for i, pal in enumerate(palette):
              x, color = Gdk.Color.parse(pal)
              self.get_widget('palette_%d' % i).set_color(color)
docs: Updates the color buttons with the given palette