# ConfirmationDialogColors

Artifact: [androidx.wear.compose:compose-material3](https://developer.android.com/jetpack/androidx/releases/wear-compose) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/material3/ConfirmationDialog.kt+class:androidx.wear.compose.material3.ConfirmationDialogColors) Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.5.0)


```
class ConfirmationDialogColors
```

<br />

*** ** * ** ***

Represents the colors used in `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/ConfirmationDialog.composable#ConfirmationDialog(kotlin.Boolean,kotlin.Function0,kotlin.Function1,androidx.compose.ui.Modifier,androidx.wear.compose.material3.ConfirmationDialogColors,androidx.compose.ui.window.DialogProperties,kotlin.Long,kotlin.Function0)`, `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/SuccessConfirmationDialog.composable#SuccessConfirmationDialog(kotlin.Boolean,kotlin.Function0,kotlin.Function1,androidx.compose.ui.Modifier,androidx.wear.compose.material3.ConfirmationDialogColors,androidx.compose.ui.window.DialogProperties,kotlin.Long,kotlin.Function0)` and `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/FailureConfirmationDialog.composable#FailureConfirmationDialog(kotlin.Boolean,kotlin.Function0,kotlin.Function1,androidx.compose.ui.Modifier,androidx.wear.compose.material3.ConfirmationDialogColors,androidx.compose.ui.window.DialogProperties,kotlin.Long,kotlin.Function0)`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/ConfirmationDialogColors#ConfirmationDialogColors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)( iconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, iconContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, textColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/ConfirmationDialogColors` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/ConfirmationDialogColors#copy(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)(iconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, iconContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, textColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)` Returns a copy of this ConfirmationColors, optionally overriding some of the values. |
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/ConfirmationDialogColors#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/ConfirmationDialogColors#hashCode()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/ConfirmationDialogColors#iconColor()` Color used to tint the icon. |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/ConfirmationDialogColors#iconContainerColor()` The color of the container behind the icon. |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/ConfirmationDialogColors#textColor()` Color used to tint the text. |

## Public constructors

### ConfirmationDialogColors

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.5.0)

```
ConfirmationDialogColors(
    iconColor: Color,
    iconContainerColor: Color,
    textColor: Color
)
```

| Parameters |
|---|---|
| `iconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | Color used to tint the icon. |
| `iconContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | The color of the container behind the icon. |
| `textColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | Color used to tint the text. |

## Public functions

### copy

Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.6.0)

```
fun copy(
    iconColor: Color = this.iconColor,
    iconContainerColor: Color = this.iconContainerColor,
    textColor: Color = this.textColor
): ConfirmationDialogColors
```

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

| Parameters |
|---|---|
| `iconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = this.iconColor` | Color used to tint the icon. |
| `iconContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = this.iconContainerColor` | The color of the container behind the icon. |
| `textColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = this.textColor` | Color used to tint the text. |

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

## Public properties

### iconColor

```
val iconColor: Color
```

Color used to tint the icon.

### iconContainerColor

```
val iconContainerColor: Color
```

The color of the container behind the icon.

### textColor

```
val textColor: Color
```

Color used to tint the text.