---
title: outputColorSpace
framework: coreimage
role: symbol
role_heading: Type Property
path: coreimage/cicontextoption/outputcolorspace
---

# outputColorSpace

A Core Image context option key to specify the default destination color space for rendering.

## Declaration

```swift
static let outputColorSpace: CIContextOption
```

## Discussion

Discussion This option only affects how Core Image renders using the following methods: /CIContext/createCGImage:fromRect: /CIContext/drawImage:atPoint:fromRect: /CIContext/drawImage:inRect:fromRect: With all other render methods, the destination color space is either specified as a parameter or can be determined from the object being rendered to. The value of this option can be either: A CGColorSpace instance with an RGB or monochrome color model that supports output. An NSNull instance to indicate that the context should not match from the working space to the destination. If this option is not specified, then the default output space is sRGB.

## See Also

### Type Properties

- [allowLowPower](coreimage/cicontextoption/allowlowpower.md)
- [cacheIntermediates](coreimage/cicontextoption/cacheintermediates.md)
- [highQualityDownsample](coreimage/cicontextoption/highqualitydownsample.md)
- [memoryTarget](coreimage/cicontextoption/memorytarget.md)
- [name](coreimage/cicontextoption/name.md)
- [outputPremultiplied](coreimage/cicontextoption/outputpremultiplied.md)
- [priorityRequestLow](coreimage/cicontextoption/priorityrequestlow.md)
- [useSoftwareRenderer](coreimage/cicontextoption/usesoftwarerenderer.md)
- [workingColorSpace](coreimage/cicontextoption/workingcolorspace.md)
- [workingFormat](coreimage/cicontextoption/workingformat.md)
