Cogl.Color.prototype.set_red_byte

function set_red_byte(red: Number(guint8)): void {
    // Gjs wrapper for cogl_color_set_red_byte()
}
  

Sets the red channel of color to red.

Since 1.4

red

a byte value between 0 and 255