Baseline Newly CSS
css.types.color.oklch.relative_syntax
Granular MDN Browser Compat Data support history across 13 tracked browsers.
Specification Area
CSS
Standard track
First Core Launch
Chrome 122
2024-02-20
Core-3 Stability
209d
Last: Safari (2024-09-16)
Baseline Feature
Newly
Relative colors
Browser Support Timeline
Notes (2)
Chrome, Edge, Chr And, WV And, Samsung, Opera, Op And, Quest:l channel values incorrectly resolve to numbers between 0-100 rather than 0-1. As a result, channel value calculations require l values to be specified as percentage numbers without units (e.g. 20 for 0.2). See bug 40940488.Safari, Saf iOS, WV iOS: Implementation based on older spec version. As a result, calculations with h channel values do not work correctly, requiring values to be specified with units (deg).Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 122 | 2024-02-20 | Supported |
| Firefox | desktop | 128 | 2024-07-09 | Supported |
| Safari | desktop | 18 | 2024-09-16 | Supported |
| Edge | desktop | 122 | 2024-02-23 | Supported |
| Chrome Android | mobile | 122 | 2024-02-20 | Supported |
| Firefox for Android | mobile | 128 | 2024-07-09 | Supported |
| Safari on iOS | mobile | 18 | 2024-09-16 | Supported |
| WebView Android | mobile | 122 | 2024-02-20 | Supported |
| WebView on iOS | mobile | 18 | 2024-09-16 | Supported |
| Samsung Browser | mobile | 26.0 | 2024-06-07 | Supported |
| Opera | desktop | 108 | 2024-03-05 | Supported |
| Opera Android | mobile | 81 | 2024-03-14 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 32 | 2024-02-27 | Supported |
| Internet Explorer | desktop | — | — | — |