GimpUi.ColorHexEntry.prototype.set_color

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

Sets the color displayed by a GimpUi.ColorHexEntry. If the new color is different to the previously set color, the "color-changed" signal is emitted.

Since 2.2

color

pointer to a Gimp.RGB