GimpUi.ColorButton.prototype.set_color

function set_color(color: Gimp.RGB): void {
    // Gjs wrapper for gimp_color_button_set_color()
}
  

Sets the button to the given color.

color

Pointer to the new Gimp.RGB color.