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

# tintColor

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

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

## Discussion

All subclasses of [`UIView`](/documentation/UIKit/UIView) derive their behavior for [`tintColor`](/documentation/UIKit/UIView/tintColor) from the base class. See the discussion of [`tintColor`](/documentation/UIKit/UIView/tintColor) at the [`UIView`](/documentation/UIKit/UIView) level for more information.

This property has no default effect for buttons with type [`UIButton.ButtonType.custom`](/documentation/UIKit/UIButton/ButtonType-swift.enum/custom). For custom buttons, you must implement any behavior related to [`tintColor`](/documentation/UIKit/UIButton/tintColor) yourself.

---

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)