Grx.color_get_green

function color_get_green(c: Grx.Color): Number(guint8) {
    // Gjs wrapper for grx_color_get_green()
}
  

Gets the green 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

the green component.