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

# luminosity

A mode that uses the hue and saturation of the background with the luminance of the source image.

## Declaration

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

## Discussion

Discussion This mode creates an effect that is inverse to the effect created by the color mode.

## See Also

### Mixing color components

- [hue](swiftui/graphicscontext/blendmode-swift.struct/hue.md)
- [saturation](swiftui/graphicscontext/blendmode-swift.struct/saturation.md)
- [color](swiftui/graphicscontext/blendmode-swift.struct/color.md)
