Gimp.RGB.prototype.set

function set(red: Number(gdouble), green: Number(gdouble), blue: Number(gdouble)): void {
    // Gjs wrapper for gimp_rgb_set()
}
  

Sets the red, green and blue components of rgb and leaves the alpha component unchanged. The color values should be between 0.0 and 1.0 but there is no check to enforce this and the values are set exactly as they are passed in.

red

the red component

green

the green component

blue

the blue component