---
title: backgroundColor
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicellaccessory-swift.struct/insertoptions/backgroundcolor
---

# backgroundColor

The background color to apply to the accessory.

## Declaration

```swift
var backgroundColor: UIColor?
```

## Discussion

Discussion The default value of this property is nil, which uses the system default.

## See Also

### Accessing configuration options

- [isHidden](uikit/uicellaccessory-swift.struct/insertoptions/ishidden.md)
- [reservedLayoutWidth](uikit/uicellaccessory-swift.struct/insertoptions/reservedlayoutwidth.md)
- [tintColor](uikit/uicellaccessory-swift.struct/insertoptions/tintcolor.md)
