Watermark Gradient Color Space
mark-gradient-cs
The mark-gradient-cs parameter sets the color space the mark-gradient colors are interpolated in. It takes srgb, linear, oklab, oklch, lch, hsl and hsv, and defaults to srgb.
For a scrim fading from transparent to black the choice makes almost no difference. It matters when the two colors are far apart in hue: srgb runs straight through the muddy middle, while oklab and oklch keep the midpoint as bright as the ends.
The default,
srgbhttps://assets.imgix.net/docs/rendering-api/food-plate.jpg?w=600&h=400&fit=crop&mark=https%3A%2F%2Fassets.imgix.net%2Fexamples%2Fbluehat.jpg&mark-w=220&mark-align=bottom,center&mark-gradient=ffff2200,ff0044ff
