Baseline Newly CSS
css.types.color.hsl.relative_syntax
Granular MDN Browser Compat Data support history across 13 tracked browsers.
Specification Area
CSS
Standard track
First Core Launch
Chrome 125
2024-05-14
Core-3 Stability
125d
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:s and l channel values incorrectly resolve to numbers between 0-1 rather than 0-100. As a result, channel value calculations require s and l values to be specified as decimal percentage equivalents (e.g. 0.2 for 20%). See bug 330096624.Safari, Saf iOS, WV iOS: Implementation based on older spec version. As a result, calculations with channel values do not work correctly, requiring values to be specified with units (deg for h, % for s and l).Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 125 | 2024-05-14 | Supported |
| Firefox | desktop | 128 | 2024-07-09 | Supported |
| Safari | desktop | 18 | 2024-09-16 | Supported |
| Edge | desktop | 125 | 2024-05-17 | Supported |
| Chrome Android | mobile | 125 | 2024-05-14 | Supported |
| Firefox for Android | mobile | 128 | 2024-07-09 | Supported |
| Safari on iOS | mobile | 18 | 2024-09-16 | Supported |
| WebView Android | mobile | 125 | 2024-05-14 | Supported |
| WebView on iOS | mobile | 18 | 2024-09-16 | Supported |
| Samsung Browser | mobile | 27.0 | 2024-11-06 | Supported |
| Opera | desktop | 111 | 2024-06-12 | Supported |
| Opera Android | mobile | 83 | 2024-06-25 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 34 | 2024-06-26 | Supported |
| Internet Explorer | desktop | — | — | — |