---
title: "TimePickerColors"
description: "Represents the colors used by a [TimePicker]."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
public class TimePickerColors(
    public val selectedPickerContentColor: Color,
    public val unselectedPickerContentColor: Color,
    public val separatorColor: Color,
    public val pickerLabelColor: Color,
    public val confirmButtonContentColor: Color,
    public val confirmButtonContainerColor: Color,
)
```


Represents the colors used by a `TimePicker`.

#### Parameters

| | |
| --- | --- |
| selectedPickerContentColor | The content color of selected picker. |
| unselectedPickerContentColor | The content color of unselected pickers. |
| separatorColor | The color of separator between the pickers. |
| pickerLabelColor | The color of the picker label. |
| confirmButtonContentColor | The content color of the confirm button. |
| confirmButtonContainerColor | The container color of the confirm button. |



## Functions

```kotlin
public fun copy(
        selectedPickerContentColor: Color = this.selectedPickerContentColor,
        unselectedPickerContentColor: Color = this.unselectedPickerContentColor,
        separatorColor: Color = this.separatorColor,
        pickerLabelColor: Color = this.pickerLabelColor,
        confirmButtonContentColor: Color = this.confirmButtonContentColor,
        confirmButtonContainerColor: Color = this.confirmButtonContainerColor,
    ): TimePickerColors
```


Returns a copy of this TimePickerColors( optionally overriding some of the values.

#### Parameters

| | |
| --- | --- |
| selectedPickerContentColor | The content color of selected picker. |
| unselectedPickerContentColor | The content color of unselected pickers. |
| separatorColor | The color of separator between the pickers. |
| pickerLabelColor | The color of the picker label. |
| confirmButtonContentColor | The content color of the confirm button. |
| confirmButtonContainerColor | The container color of the confirm button. |




