<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MailKit",
  "identifier" : "/documentation/MailKit/MEMessageAction/setBackgroundColor(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "MailKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MEMessageAction(cm)setBackgroundColorActionWithColor:"
  },
  "title" : "setBackgroundColor(_:)"
}
-->

# setBackgroundColor(_:)

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)