Web features explorer

Color management for WebGL2

Newly available since 2024-10-29
Tags: api

The drawingBufferColorSpace and unpackColorSpace properties of WebGL2RenderingContext sets the color representation for the buffer and imported textures, such as "srgb" or "display-p3".

Learning resources on MDN

Browser support

Specifications