Web features explorer

Gradient interpolation

Newly available since 2024-06-11
Tags: css Groups: CSS > Gradients

Gradient interpolation controls how the colors between gradient stops are calculated in CSS. For example, linear-gradient(to right in oklch longer hue, red, red); calculates in the oklch color space, with the hue going all the way around the hue circle from red back to red.

Learning resources on MDN

Browser support