<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIBarAppearance/backgroundColor",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIBarAppearance(py)backgroundColor"
  },
  "title" : "backgroundColor"
}
-->

# backgroundColor

The background color of the bar.

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

## Discussion

The bar layers the specified color on top of any blur effects you specified in the [`backgroundEffect`](/documentation/UIKit/UIBarAppearance/backgroundEffect) property, and below the image in the [`backgroundImage`](/documentation/UIKit/UIBarAppearance/backgroundImage) property.

---

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)