---
title: CGBlendMode.color
framework: coregraphics
role: symbol
role_heading: Case
path: coregraphics/cgblendmode/color
---

# CGBlendMode.color

Uses the luminance values of the background with the hue and saturation values of the source image. This mode preserves the gray levels in the image. You can use this mode to color monochrome images or to tint color images.

## Declaration

```swift
case color
```

## See Also

### Constants

- [CGBlendMode.normal](coregraphics/cgblendmode/normal.md)
- [CGBlendMode.multiply](coregraphics/cgblendmode/multiply.md)
- [CGBlendMode.screen](coregraphics/cgblendmode/screen.md)
- [CGBlendMode.overlay](coregraphics/cgblendmode/overlay.md)
- [CGBlendMode.darken](coregraphics/cgblendmode/darken.md)
- [CGBlendMode.lighten](coregraphics/cgblendmode/lighten.md)
- [CGBlendMode.colorDodge](coregraphics/cgblendmode/colordodge.md)
- [CGBlendMode.colorBurn](coregraphics/cgblendmode/colorburn.md)
- [CGBlendMode.softLight](coregraphics/cgblendmode/softlight.md)
- [CGBlendMode.hardLight](coregraphics/cgblendmode/hardlight.md)
- [CGBlendMode.difference](coregraphics/cgblendmode/difference.md)
- [CGBlendMode.exclusion](coregraphics/cgblendmode/exclusion.md)
- [CGBlendMode.hue](coregraphics/cgblendmode/hue.md)
- [CGBlendMode.saturation](coregraphics/cgblendmode/saturation.md)
- [CGBlendMode.luminosity](coregraphics/cgblendmode/luminosity.md)
