Grx.color_build_rgb

function color_build_rgb(r: Number(guint8), g: Number(guint8), b: Number(guint8)): Grx.Color {
    // Gjs wrapper for grx_color_build_rgb()
}
  

Build a RGB color value based on the current graphics mode.

This will not allocate a new color even if a color table is being used.

r

the red component value

g

the green component value

b

the blue component value

Returns

a new color value.