---
title: backgroundColor
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicontextualaction/backgroundcolor
---

# backgroundColor

The background color of the action button.

## Declaration

```swift
@NSCopying var backgroundColor: UIColor! { get set }
```

## Discussion

Discussion The default value of this property is determined by the value of the style property, which determines the default appearance of the button. Assigning a new color to this property changes the background to the color that you specify.

## See Also

### Configuring the appearance

- [title](uikit/uicontextualaction/title.md)
- [image](uikit/uicontextualaction/image.md)
