---
title: tintColor
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibutton/tintcolor
---

# tintColor

The tint color to apply to the button title and image.

## Declaration

```swift
var tintColor: UIColor! { get set }
```

## Discussion

Discussion All subclasses of UIView derive their behavior for tintColor from the base class. See the discussion of tintColor at the UIView level for more information. This property has no default effect for buttons with type UIButton.ButtonType.custom. For custom buttons, you must implement any behavior related to tintColor yourself.

## See Also

### Managing images and tint color

- [backgroundImage(for:)](uikit/uibutton/backgroundimage(for:).md)
- [image(for:)](uikit/uibutton/image(for:).md)
- [setBackgroundImage(_:for:)](uikit/uibutton/setbackgroundimage(_:for:).md)
- [setImage(_:for:)](uikit/uibutton/setimage(_:for:).md)
- [preferredSymbolConfigurationForImage(in:)](uikit/uibutton/preferredsymbolconfigurationforimage(in:).md)
- [setPreferredSymbolConfiguration(_:forImageIn:)](uikit/uibutton/setpreferredsymbolconfiguration(_:forimagein:).md)
