---
title: highlightedTextColor
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uilabel/highlightedtextcolor
---

# highlightedTextColor

The highlight color for the label’s text.

## Declaration

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

## Discussion

Discussion Subclasses that use labels to implement a type of text button can use the value in this property when drawing the pressed state for the button. The label uses this value to display text whenever the isHighlighted property is true. The default value of this property is nil.

## See Also

### Managing highlight values

- [isHighlighted](uikit/uilabel/ishighlighted.md)
