Imgix APIsRendering APIAdjustmentHue shift

Hue shift

hue

Changes the hue, or tint, of each pixel in the image.

The value is an angle along a hue color wheel, with the pixel’s starting color at 0. Valid values are in the range 0 – 359. The default value is 0, which leaves the image unchanged.

The rotation runs on the standard sRGB hue wheel, the same wheel CSS uses. This is not an exact match for the CSS filter: hue-rotate() function, which uses a different formula.

To give every pixel the same hue rather than rotating each pixel’s own hue by an offset, use hue-set. When hue-set is present, hue is ignored.