Cogl.Color.prototype.unpremultiply

function unpremultiply(): void {
    // Gjs wrapper for cogl_color_unpremultiply()
}
  

Converts a pre-multiplied color to a non-premultiplied color. For example, semi-transparent red is (0.5, 0, 0, 0.5) when premultiplied and (1.0, 0, 0, 0.5) when non-premultiplied.

Since 1.4