Web platform 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".

Specifications

Browser support

  • Chrome 104 Released on 2022-08-02
  • Chrome Android 104 Released on 2022-08-02
  • Edge 104 Released on 2022-08-05
  • Firefox 132 Released on 2024-10-29
  • Firefox for Android 132 Released on 2024-10-29
  • Safari 16.4 Released on 2023-03-27
  • Safari on iOS 16.4 Released on 2023-03-27