---
title: colorSpace
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/ciimage/colorspace
---

# colorSpace

The color space of the image.

## Declaration

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

## Discussion

Discussion This property’s value is nil if the image’s color space cannot be determined.

## See Also

### Getting Image Information

- [definition](coreimage/ciimage/definition.md)
- [extent](coreimage/ciimage/extent.md)
- [properties](coreimage/ciimage/properties.md)
- [url](coreimage/ciimage/url.md)
- [orientationTransform(forExifOrientation:)](coreimage/ciimage/orientationtransform(forexiforientation:).md)
