---
title: CGColorRenderingIntent
framework: coregraphics
role: symbol
role_heading: Enumeration
path: coregraphics/cgcolorrenderingintent
---

# CGColorRenderingIntent

Handling options for colors that are not located within the destination color space of a graphics context.

## Declaration

```swift
enum CGColorRenderingIntent
```

## Overview

Overview The rendering intent specifies how Quartz should handle colors that are not located within the gamut of the destination color space of a graphics context. It determines the exact method used to map colors from one color space to another. If you do not explicitly set the rendering intent by calling the function setRenderingIntent(_:), the graphics context uses the relative colorimetric rendering intent, except when drawing sampled images.

## Topics

### Constants

- [CGColorRenderingIntent.defaultIntent](coregraphics/cgcolorrenderingintent/defaultintent.md)
- [CGColorRenderingIntent.absoluteColorimetric](coregraphics/cgcolorrenderingintent/absolutecolorimetric.md)
- [CGColorRenderingIntent.relativeColorimetric](coregraphics/cgcolorrenderingintent/relativecolorimetric.md)
- [CGColorRenderingIntent.perceptual](coregraphics/cgcolorrenderingintent/perceptual.md)
- [CGColorRenderingIntent.saturation](coregraphics/cgcolorrenderingintent/saturation.md)

### Initializers

- [init(rawValue:)](coregraphics/cgcolorrenderingintent/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
