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

# colorSpace

Returns the CGColorSpace associated with the color

## Declaration

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

## See Also

### Getting Color Components

- [components](coreimage/cicolor/components.md)
- [numberOfComponents](coreimage/cicolor/numberofcomponents.md)
- [red](coreimage/cicolor/red-swift.property.md)
- [green](coreimage/cicolor/green-swift.property.md)
- [blue](coreimage/cicolor/blue-swift.property.md)
- [alpha](coreimage/cicolor/alpha.md)
- [stringRepresentation](coreimage/cicolor/stringrepresentation.md)
