# DurationPickerColors

> Represents the colors used by a [DurationPicker].

## API Reference

> Source set: Android

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

Represents the colors used by a [DurationPicker](https://composables.com/jetpack-compose/androidx.wear.compose/compose-material3/components/DurationPicker/api.md).

#### Parameters

| | |
| --- | --- |
| selectedPickerContentColor | The content color of selected picker. |
| unselectedPickerContentColor | The content color of unselected pickers. |
| invalidPickerContentColor | The content color of invalid picker options. |
| 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. |
| pickerBackgroundColor | The background color of the picker, used for the top and bottom gradient fade on the picker columns. `Color.Unspecified` makes the fade transparent, so it works on any background, including gradients and images. |

## Functions

### copy

> Source set: Android

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

Returns a copy of this DurationPickerColors, optionally overriding some of the values.

#### Parameters

| | |
| --- | --- |
| selectedPickerContentColor | The content color of selected picker. |
| unselectedPickerContentColor | The content color of unselected pickers. |
| invalidPickerContentColor | The content color of invalid picker options. |
| 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. |
| pickerBackgroundColor | The background color of the picker, used for the top and bottom gradient fade on the picker columns. |

### equals

> Source set: Android

```kotlin
override fun equals(other: Any?): Boolean
```

### hashCode

> Source set: Android

```kotlin
override fun hashCode(): Int
```
