Blend Layer Gradient Color Space
blend-gradient-cs
Sets the color space the stops of a blend-gradient interpolate in. The default is srgb.
Valid values are srgb, linear, oklab, oklch, lch, hsl, and hsv.
srgb matches a browser’s default CSS gradient. oklch gives vivid, even ramps between saturated colors and avoids the muddy midpoint that srgb can produce. The hue spaces (oklch, lch, hsl, hsv) travel around the color wheel, and which way they go is set by blend-gradient-hue.
It is ignored when blend-gradient-mask is on.
Use blend-gradient-cs[N] to target a specific blend layer, where N is 0–3. Layer 0 is either the bare blend-gradient-cs or blend-gradient-cs[0]; if both are supplied, the bare name wins. A layer never borrows another layer’s spelling.