monochrome
A mode that renders symbols as a single layer filled with the foreground style.
Declaration
static let monochrome: SymbolRenderingModeDiscussion
For example, you can render a filled exclamation mark triangle in purple:
Image(systemName: "exclamationmark.triangle.fill")
.symbolRenderingMode(.monochrome)
.foregroundStyle(Color.purple)