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

# color

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

## Declaration

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

## Discussion

Discussion This mode preserves the gray levels in the image. You can use this mode to color monochrome images or to tint color images.

## See Also

### Mixing color components

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