Baseline Newly CSS
Relative colors
The from keyword for color functions (color(), hsl(), oklch(), etc.) creates a new color based on a given color by modifying the values of the input color. Also known as relative color syntax (RCS).
Baseline Status
Newly Available
Since 2024-09-16
First Core Launch
Chrome 125
2024-05-14
Core-3 Stability
125d
Last: Safari (2024-09-16)
BCD Keys Mapped
9
Group: CSS
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Chrome | desktop | 125 | 2024-05-14 |
| Chrome Android | mobile | 125 | 2024-05-14 |
| Edge | desktop | 125 | 2024-05-17 |
| Firefox | desktop | 128 | 2024-07-09 |
| Firefox for Android | mobile | 128 | 2024-07-09 |
| Safari | desktop | 18 | 2024-09-16 |
| Safari on iOS | mobile | 18 | 2024-09-16 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.types.calc.color_component | CSS | 470d (1.3y) |
| css.types.color.color.relative_syntax | CSS | 321d |
| css.types.color.hsl.relative_syntax | CSS | 125d |
| css.types.color.hwb.relative_syntax | CSS | 125d |
| css.types.color.lab.relative_syntax | CSS | 470d (1.3y) |
| css.types.color.lch.relative_syntax | CSS | 321d |
| css.types.color.oklab.relative_syntax | CSS | 470d (1.3y) |
| css.types.color.oklch.relative_syntax | CSS | 209d |
| css.types.color.rgb.relative_syntax | CSS | 209d |