---
title: workingColorSpace
framework: coreimage
role: symbol
role_heading: Type Property
path: coreimage/cicontextoption/workingcolorspace
---

# workingColorSpace

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

## Declaration

```swift
static let workingColorSpace: CIContextOption
```

## Discussion

Discussion Contexts support automatic color management by performing all processing operations in a working color space. This means that unless told otherwise: All input images are color matched from the input’s color space to the working space. All renders are color matched from the working space to the destination’s color space. The default working space is the extended sRGB color space with linear gamma. On macOS before 10.10, the default is extended Generic RGB with linear gamma. The value of this option can be either: A CGColorSpace instance with an RGB color model that supports output. An NSNull instance to request that Core Image perform no color management. If this option is not specified, then the default working space is used.

## 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)
- [outputColorSpace](coreimage/cicontextoption/outputcolorspace.md)
- [outputPremultiplied](coreimage/cicontextoption/outputpremultiplied.md)
- [priorityRequestLow](coreimage/cicontextoption/priorityrequestlow.md)
- [useSoftwareRenderer](coreimage/cicontextoption/usesoftwarerenderer.md)
- [workingFormat](coreimage/cicontextoption/workingformat.md)
