---
title: "ConfirmationDialogColors"
description: "Represents the colors used in [ConfirmationDialog], [SuccessConfirmationDialog] and
[FailureConfirmationDialog]."
type: "class"
---

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


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

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


```kotlin
public class ConfirmationDialogColors(
    public val iconColor: Color,
    public val iconContainerColor: Color,
    public val textColor: Color,
)
```


Represents the colors used in `ConfirmationDialog`, `SuccessConfirmationDialog` and
`FailureConfirmationDialog`.

#### Parameters

| | |
| --- | --- |
| iconColor | Color used to tint the icon. |
| iconContainerColor | The color of the container behind the icon. |
| textColor | Color used to tint the text. |



## Functions

```kotlin
public 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 | Color used to tint the icon. |
| iconContainerColor | The color of the container behind the icon. |
| textColor | Color used to tint the text. |




