---
title: colorSpace
framework: accelerate
role: symbol
role_heading: Instance Property
path: accelerate/vimagecvimageformat/colorspace
---

# colorSpace

The color space of the Core Video image format.

## Declaration

```swift
var colorSpace: CGColorSpace? { get set }
```

## See Also

### Related Documentation

- [vImageCVImageFormat_GetColorSpace(_:)](accelerate/vimagecvimageformat_getcolorspace(_:).md)
- [vImageCVImageFormat_SetColorSpace(_:_:)](accelerate/vimagecvimageformat_setcolorspace(_:_:).md)

### Inspecting a Core Video image format’s properties

- [channelCount](accelerate/vimagecvimageformat/channelcount.md)
- [channels](accelerate/vimagecvimageformat/channels.md)
- [channelDescription(bufferType:)](accelerate/vimagecvimageformat/channeldescription(buffertype:).md)
- [formatCode](accelerate/vimagecvimageformat/formatcode.md)
- [chromaSiting](accelerate/vimagecvimageformat/chromasiting-swift.property.md)
- [alphaIsOpaqueHint](accelerate/vimagecvimageformat/alphaisopaquehint.md)
