Blend Gradient Hue
blend-gradient-hue
The blend-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 blend-gradient-cs to oklch, lch, hsl or hsv first.
The default,
shorterhttps://assets.imgix.net/examples/clouds.jpg?w=600&h=400&fit=crop&blend=https%3A%2F%2Fassets.imgix.net%2Fexamples%2Fbluehat.jpg&blend-mode=normal&blend-size=inherit&blend-gradient=ffff2200,ff0044ff&blend-gradient-cs=oklch
