color-interpolation
An SVG property that determines which color space should be used for gradient interpolations and color animations.
Syntax
/* Usage Example */
linearGradient {
/* SVG property for color transitions */
color-interpolation: linearRGB;
}
/* Global values */
color-interpolation: inherit;
color-interpolation: initial;
color-interpolation: revert;
color-interpolation: revert-layer;
color-interpolation: unset;
color-interpolation Browser support
Widely available
Since
2020 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.
1+
3+
4+
79+