---
title: darken
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/graphicscontext/blendmode-swift.struct/darken
---

# darken

A mode that creates composite image samples by choosing the darker samples from either the source image or the background.

## Declaration

```swift
static var darken: GraphicsContext.BlendMode { get }
```

## Discussion

Discussion When you draw in this mode, source image samples that are darker than the background replace the background. Otherwise, the background image samples remain unchanged.

## See Also

### Darkening

- [multiply](swiftui/graphicscontext/blendmode-swift.struct/multiply.md)
- [colorBurn](swiftui/graphicscontext/blendmode-swift.struct/colorburn.md)
- [plusDarker](swiftui/graphicscontext/blendmode-swift.struct/plusdarker.md)
