Gimp.Channel.prototype.set_color

function set_color(color: Gimp.RGB): Boolean {
    // Gjs wrapper for gimp_channel_set_color()
}
  

Set the compositing color of the specified channel.

This procedure sets the specified channel's compositing color.

color

The new channel compositing color.

Returns

TRUE on success.