Watermark Gradient Hue
mark-gradient-hue
The mark-gradient-hue parameter sets which way around the hue wheel the gradient travels between two colors. It follows the CSS Color 4 rules and defaults to shorter.
| Value | Path taken |
|---|---|
shorter (default) | The shorter way around the wheel |
longer | The longer way, sweeping through the opposite hues |
increasing | The path along which the hue angle increases |
decreasing | The path along which the hue angle decreases |
It only has an effect in a cylindrical color space — set mark-gradient-cs to oklch, lch, hsl or hsv first.
The default,
shorterhttps://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&mark-gradient-cs=oklch
