GimpUi.ColorSelector.prototype.set_color

function set_color(rgb: Gimp.RGB, hsv: Gimp.HSV): void {
    // Gjs wrapper for gimp_color_selector_set_color()
}
  

Sets the color shown in the selector widget.

rgb

The new color.

hsv

The same color in HSV.