Imgix APIsVideo APIBlendingBlend Layer Gradient Hue Direction

Blend Layer Gradient Hue Direction

blend-gradient-hue

Sets which way around the color wheel a blend-gradient travels between its stops. The default is shorter.

ValueDescription
shorter (default)Takes the shorter way around the wheel.
longerTakes the longer way, passing through the hues on the far side.
increasingAlways moves in the direction of increasing hue.
decreasingAlways moves in the direction of decreasing hue.

It applies only in a hue color space — set blend-gradient-cs to oklch, lch, hsl or hsv for it to have any effect — and is ignored when blend-gradient-mask is on.

Use blend-gradient-hue[N] to target a specific blend layer, where N is 0–3. Layer 0 is either the bare blend-gradient-hue or blend-gradient-hue[0]; if both are supplied, the bare name wins. A layer never borrows another layer’s spelling.