---
title: "setBackgroundColor(_:)"
framework: mailkit
role: symbol
role_heading: Type Method
path: "mailkit/memessageaction/setbackgroundcolor(_:)"
---

# setBackgroundColor(_:)

## Declaration

```swift
class func setBackgroundColor(_ color: MEMessageAction.MessageColor) -> Self
```

## See Also

### Type Methods

- [flag(_:)](mailkit/memessageaction/flag(_:).md)
