---
title: "setTextColor(_:)"
framework: watchkit
role: symbol
role_heading: Instance Method
path: "watchkit/wkinterfacetimer/settextcolor(_:)"
---

# setTextColor(_:)

Sets the color of the timer’s text.

## Declaration

```swift
func setTextColor(_ color: UIColor?)
```

## Parameters

- `color`: The custom color to apply to the timer string. Specifying nil removes the custom color and returns the text to the color specified in the storyboard file. The default text color is white.

## See Also

### Configuring the Timer Attributes

- [setDate(_:)](watchkit/wkinterfacetimer/setdate(_:).md)
