Grx.color_get

@accepts(guint8, guint8, guint8)
@returns(Grx.Color)
def color_get(r, g, b):
    # Python wrapper for grx_color_get()
  

Gets a color based on the RGB value.

A new color is allocated in the color table if needed.

The color should be released with Grx.color_put when it is no longer used.

r

the red component value

g

the green component value

b

the blue component value

Returns