Gimp.RGB.set_uchar

@accepts(Gimp.RGB, guint8, guint8, guint8)
@returns(none)
def set_uchar(self, red, green, blue):
    # Python wrapper for gimp_rgb_set_uchar()
  

Sets the red, green and blue components of self from 8bit values (0 to 255) and leaves the alpha component unchanged.

self

a Gimp.RGB struct

red

the red component

green

the green component

blue

the blue component