---
title: hueAdjust()
framework: coreimage
role: symbol
role_heading: Type Method
path: coreimage/cifilter-swift.class/hueadjust()
---

# hueAdjust()

Modifies an image’s hue.

## Declaration

```swift
class func hueAdjust() -> any CIFilter & CIHueAdjust
```

## Return Value

Return Value The modified image.

## Discussion

Discussion This method applies the hue-adjust filter to an image. The effect changes the hue or color of the pixels by using the angle to modify the image’s color data. The hue-adjust filter uses the following properties: The following code creates a filter that shifts the hue of the image by 5 radians. func hueAdjust(inputImage: CIImage) -> CIImage {     let hueAdjustFilter = CIFilter.hueAdjust()     hueAdjustFilter.inputImage = inputImage     hueAdjustFilter.angle = 5     return hueAdjustFilter.outputImage! }

## See Also

### Filters

- [colorAbsoluteDifference()](coreimage/cifilter-swift.class/colorabsolutedifference().md)
- [colorClamp()](coreimage/cifilter-swift.class/colorclamp().md)
- [colorControls()](coreimage/cifilter-swift.class/colorcontrols().md)
- [colorMatrix()](coreimage/cifilter-swift.class/colormatrix().md)
- [colorPolynomial()](coreimage/cifilter-swift.class/colorpolynomial().md)
- [colorThreshold()](coreimage/cifilter-swift.class/colorthreshold().md)
- [colorThresholdOtsu()](coreimage/cifilter-swift.class/colorthresholdotsu().md)
- [depthToDisparity()](coreimage/cifilter-swift.class/depthtodisparity().md)
- [disparityToDepth()](coreimage/cifilter-swift.class/disparitytodepth().md)
- [exposureAdjust()](coreimage/cifilter-swift.class/exposureadjust().md)
- [gammaAdjust()](coreimage/cifilter-swift.class/gammaadjust().md)
- [linearToSRGBToneCurve()](coreimage/cifilter-swift.class/lineartosrgbtonecurve().md)
- [sRGBToneCurveToLinear()](coreimage/cifilter-swift.class/srgbtonecurvetolinear().md)
- [temperatureAndTint()](coreimage/cifilter-swift.class/temperatureandtint().md)
- [toneCurve()](coreimage/cifilter-swift.class/tonecurve().md)
