---
title: monochrome
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/symbolrenderingmode/monochrome
---

# monochrome

A mode that renders symbols as a single layer filled with the foreground style.

## Declaration

```swift
static let monochrome: SymbolRenderingMode
```

## Discussion

Discussion For example, you can render a filled exclamation mark triangle in purple: Image(systemName: "exclamationmark.triangle.fill")     .symbolRenderingMode(.monochrome)     .foregroundStyle(Color.purple)

## See Also

### Getting symbol rendering modes

- [hierarchical](swiftui/symbolrenderingmode/hierarchical.md)
- [multicolor](swiftui/symbolrenderingmode/multicolor.md)
- [palette](swiftui/symbolrenderingmode/palette.md)
