Grx.color_get_red

@accepts(Grx.Color)
@returns(guint8)
def color_get_red(c):
    # Python wrapper for grx_color_get_red()
  

Gets the red component of a color value.

This function only works on RGB colors and not color table values. For color table values, use Grx.color_query instead.

c

the source color value.

Returns