GimpUi.ColorSelector.set_color

@accepts(GimpUi.ColorSelector, Gimp.RGB, Gimp.HSV)
@returns(none)
def set_color(self, rgb, hsv):
    # Python wrapper for gimp_color_selector_set_color()
  

Sets the color shown in the self widget.

self

A GimpUi.ColorSelector widget.

rgb

The new color.

hsv

The same color in HSV.