---
title: workingColorSpace
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cicontext/workingcolorspace
---

# workingColorSpace

The working color space of the Core Image context.

## Declaration

```swift
var workingColorSpace: CGColorSpace? { get }
```

## Discussion

Discussion The working color space determines the color space used when executing filter kernels; Core Image automatically converts to and from the source and destination color spaces of input images and output contexts. You specify a working color space using the workingColorSpace key in the options dictionary when creating a Core Image context.

## See Also

### Managing Resources

- [clearCaches()](coreimage/cicontext/clearcaches().md)
- [reclaimResources()](coreimage/cicontext/reclaimresources().md)
- [offlineGPUCount()](coreimage/cicontext/offlinegpucount().md)
- [workingFormat](coreimage/cicontext/workingformat.md)
