Grx.color_build_rgb_round

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

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

This function is similar to Grx.color_build_rgb, but will limit the RGB components to 255 during the scaling.

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