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

# barTintColor

The tint color to apply to the toolbar 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(forToolbarPosition:barMetrics:)](uikit/uitoolbar/backgroundimage(fortoolbarposition:barmetrics:).md)
- [setBackgroundImage(_:forToolbarPosition:barMetrics:)](uikit/uitoolbar/setbackgroundimage(_:fortoolbarposition:barmetrics:).md)
