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

# CGBlendMode.darken

## Declaration

```swift
case darken
```

## Discussion

Discussion Creates the composite image samples by choosing the darker samples (either from the source image or the background). The result is that the background image samples are replaced by any source image samples that are darker. Otherwise, the background image samples are left unchanged.

## 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.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.color](coregraphics/cgblendmode/color.md)
- [CGBlendMode.luminosity](coregraphics/cgblendmode/luminosity.md)
