Web features explorer

Relative colors

Newly available since 2024-09-16
Tags: css Groups: CSS

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).

Learning resources on MDN

Browser support (view on caniuse.com)