color-interpolation

An SVG property that determines which color space should be used for gradient interpolations and color animations.

/* 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;
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+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC