---
title: "IconToggleButtonColors"
description: "Represents the colors used by an IconToggleButton in different states."
type: "class"
lastmod: "2026-05-08T01:17:00.909922Z"
---
## API Reference

> Source set: Android

```kotlin
public class IconToggleButtonColors(
    public val backgroundColor: Color,
    public val checkedBackgroundColor: Color,
    public val contentColor: Color,
    public val checkedContentColor: Color,
)
```

Represents the colors used by an [IconToggleButton](/jetpack-compose/androidx.xr.glimmer/glimmer/components/IconToggleButton) in different states.

## Functions

### copy

```kotlin
public fun copy(
        backgroundColor: Color = this.backgroundColor,
        checkedBackgroundColor: Color = this.checkedBackgroundColor,
        contentColor: Color = this.contentColor,
        checkedContentColor: Color = this.checkedContentColor,
    ): IconToggleButtonColors
```
