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

# backgroundColor

The background color of the bar.

## Declaration

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

## Discussion

Discussion The bar layers the specified color on top of any blur effects you specified in the backgroundEffect property, and below the image in the backgroundImage property.

## See Also

### Configuring the background appearance

- [backgroundEffect](uikit/uibarappearance/backgroundeffect.md)
- [backgroundImage](uikit/uibarappearance/backgroundimage.md)
- [backgroundImageContentMode](uikit/uibarappearance/backgroundimagecontentmode.md)
