---
title: barTintColor
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uinavigationbar/bartintcolor
---

# barTintColor

The tint color to apply to the navigation bar background.

## Declaration

```swift
var barTintColor: UIColor? { get set }
```

## Discussion

Discussion This color is made translucent by default unless you set the isTranslucent property to false.

## See Also

### Changing the background

- [backgroundImage(for:)](uikit/uinavigationbar/backgroundimage(for:).md)
- [setBackgroundImage(_:for:)](uikit/uinavigationbar/setbackgroundimage(_:for:).md)
- [backgroundImage(for:barMetrics:)](uikit/uinavigationbar/backgroundimage(for:barmetrics:).md)
- [setBackgroundImage(_:for:barMetrics:)](uikit/uinavigationbar/setbackgroundimage(_:for:barmetrics:).md)
