---
title: onTintColor
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiswitch/ontintcolor
---

# onTintColor

The color used to tint the appearance of the switch when it’s in the on position.

## Declaration

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

## See Also

### Customizing the appearance of the switch

- [thumbTintColor](uikit/uiswitch/thumbtintcolor.md)
