---
title: kCGImagePropertyColorModel
framework: imageio
role: symbol
role_heading: Global Variable
path: imageio/kcgimagepropertycolormodel
---

# kCGImagePropertyColorModel

The color model of the image, such as RGB, CMYK, grayscale, or Lab.

## Declaration

```swift
let kCGImagePropertyColorModel: CFString
```

## Discussion

Discussion The value of this key is of type CFString. Typically, the value corresponds to the kCGImagePropertyColorModelRGB, kCGImagePropertyColorModelCMYK, kCGImagePropertyColorModelGray, or kCGImagePropertyColorModelLab constant. A color model describes how color values are represented mathematically. A color space is a color model combined with a definition of how to interpret values within the model.

## See Also

### Color Information

- [kCGImagePropertyHasAlpha](imageio/kcgimagepropertyhasalpha.md)
- [kCGImagePropertyNamedColorSpace](imageio/kcgimagepropertynamedcolorspace.md)
- [kCGImagePropertyProfileName](imageio/kcgimagepropertyprofilename.md)
- [kCGImagePropertyColorModelRGB](imageio/kcgimagepropertycolormodelrgb.md)
- [kCGImagePropertyColorModelCMYK](imageio/kcgimagepropertycolormodelcmyk.md)
- [kCGImagePropertyColorModelGray](imageio/kcgimagepropertycolormodelgray.md)
- [kCGImagePropertyColorModelLab](imageio/kcgimagepropertycolormodellab.md)
