coderef

EXT_color_buffer_half_float WebGL extensionBaseline · Widely available

The EXT_color_buffer_half_float extension for WebGL 1.0 and 2.0 contexts renders 16-bit floating-point color buffers.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 16, 2020. Widely available since Mar 16, 2023.

Browser support

DesktopChrome
1–62Not supported
63+Supportedsince Dec 6, 2017
Current: 155
Edge
12–16Not supported
17+Supportedsince Apr 30, 2018
Current: 154
Firefox
1–46Not supported
47+Supportedsince Jun 7, 2016
Current: 157
Safari
1–13.1Not supported
14+Supportedsince Sep 16, 2020
Current: 27
MobileChrome Android
18–62Not supported
63+Supportedsince Dec 5, 2017
Current: 155
Firefox Android
4–35Not supported
36+Supportedsince Feb 27, 2015
Current: 157
Safari iOS
1–13.4Not supported
14+Supportedsince Sep 16, 2020
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: EXT color buffer half float.

Feature detection

JS · check before using
if ("EXT_color_buffer_half_float" in globalThis) {
  // EXT_color_buffer_half_float is available
} else {
  // load a polyfill or use a fallback
}