---
title: colorSpaceName
framework: screencapturekit
role: symbol
role_heading: Instance Property
path: screencapturekit/scstreamconfiguration/colorspacename
---

# colorSpaceName

A color space to use for the output buffer.

## Declaration

```swift
unowned(unsafe) var colorSpaceName: CFString { get set }
```

## Discussion

Discussion If you don’t specify a value, the output buffer uses the same color space as the display. If you specify a value, if must be one of the strings specified in CGColorSpace.

## See Also

### Configuring colors

- [pixelFormat](screencapturekit/scstreamconfiguration/pixelformat.md)
- [colorMatrix](screencapturekit/scstreamconfiguration/colormatrix.md)
- [backgroundColor](screencapturekit/scstreamconfiguration/backgroundcolor.md)
