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

# CGBlendMode.overlay

## Declaration

```swift
case overlay
```

## Discussion

Discussion Either multiplies or screens the source image samples with the background image samples, depending on the background color. The result is to overlay the existing image samples while preserving the highlights and shadows of the background. The background color mixes with the source image to reflect the lightness or darkness of the background.

## See Also

### Constants

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