---
title: "SplitCheckboxButtonColors"
description: "Represents the different colors used in [SplitCheckboxButton] in different states."
type: "class"
---

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


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

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


```kotlin
public class SplitCheckboxButtonColors(
    public val checkedContainerColor: Color,
    public val checkedContentColor: Color,
    public val checkedSecondaryContentColor: Color,
    public val checkedSplitContainerColor: Color,
    public val checkedBoxColor: Color,
    public val checkedCheckmarkColor: Color,
    public val uncheckedContainerColor: Color,
    public val uncheckedContentColor: Color,
    public val uncheckedSecondaryContentColor: Color,
    public val uncheckedSplitContainerColor: Color,
    public val uncheckedBoxColor: Color,
    public val disabledCheckedContainerColor: Color,
    public val disabledCheckedContentColor: Color,
    public val disabledCheckedSecondaryContentColor: Color,
    public val disabledCheckedSplitContainerColor: Color,
    public val disabledCheckedBoxColor: Color,
    public val disabledCheckedCheckmarkColor: Color,
    public val disabledUncheckedContainerColor: Color,
    public val disabledUncheckedContentColor: Color,
    public val disabledUncheckedSecondaryContentColor: Color,
    public val disabledUncheckedSplitContainerColor: Color,
    public val disabledUncheckedBoxColor: Color,
)
```


Represents the different colors used in `SplitCheckboxButton` in different states.

#### Parameters

| | |
| --- | --- |
| checkedContainerColor | Container or background color when the `SplitCheckboxButton` is checked |
| checkedContentColor | Color of the content like label when the `SplitCheckboxButton` is checked |
| checkedSecondaryContentColor | Color of the secondary content like secondary label when the `SplitCheckboxButton` is checked |
| checkedSplitContainerColor | Split container color when the `SplitCheckboxButton` is checked |
| checkedBoxColor | Box color when `SplitCheckboxButton` is checked |
| checkedCheckmarkColor | Checkmark color when `SplitCheckboxButton` is checked |
| uncheckedContainerColor | Container or background color when the `SplitCheckboxButton` is unchecked |
| uncheckedContentColor | Color of the content like label when the `SplitCheckboxButton` is unchecked |
| uncheckedSecondaryContentColor | Color of the secondary content like secondary label when the `SplitCheckboxButton` is unchecked |
| uncheckedSplitContainerColor | Split container color when the `SplitCheckboxButton` is unchecked |
| uncheckedBoxColor | Box color when the `SplitCheckboxButton` is unchecked |
| disabledCheckedContainerColor | Container color when the `SplitCheckboxButton` is disabled and checked |
| disabledCheckedContentColor | Color of the content like label when the `SplitCheckboxButton` is disabled and checked |
| disabledCheckedSecondaryContentColor | Color of the secondary content like secondary label when the `SplitCheckboxButton` is disabled and checked |
| disabledCheckedSplitContainerColor | Split container color when the `SplitCheckboxButton` is disabled and checked |
| disabledCheckedBoxColor | Box color when the `SplitCheckboxButton` is disabled and checked |
| disabledCheckedCheckmarkColor | Checkmark color when the `SplitCheckboxButton` is disabled and checked |
| disabledUncheckedContainerColor | Container color when the `SplitCheckboxButton` is unchecked and disabled |
| disabledUncheckedContentColor | Color of the content like label when the `SplitCheckboxButton` is unchecked and disabled |
| disabledUncheckedSecondaryContentColor | Color of the secondary content like secondary label when the `SplitCheckboxButton` is unchecked and disabled |
| disabledUncheckedSplitContainerColor | Split container color when the `SplitCheckboxButton` is unchecked and disabled |
| disabledUncheckedBoxColor | Box color when the `SplitCheckboxButton` is disabled and unchecked |



## Functions

```kotlin
public fun copy(
        checkedContainerColor: Color = this.checkedContainerColor,
        checkedContentColor: Color = this.checkedContentColor,
        checkedSecondaryContentColor: Color = this.checkedSecondaryContentColor,
        checkedSplitContainerColor: Color = this.checkedSplitContainerColor,
        checkedBoxColor: Color = this.checkedBoxColor,
        checkedCheckmarkColor: Color = this.checkedCheckmarkColor,
        uncheckedContainerColor: Color = this.uncheckedContainerColor,
        uncheckedContentColor: Color = this.uncheckedContentColor,
        uncheckedSecondaryContentColor: Color = this.uncheckedSecondaryContentColor,
        uncheckedSplitContainerColor: Color = this.uncheckedSplitContainerColor,
        uncheckedBoxColor: Color = this.uncheckedBoxColor,
        disabledCheckedContainerColor: Color = this.disabledCheckedContainerColor,
        disabledCheckedContentColor: Color = this.disabledCheckedContentColor,
        disabledCheckedSecondaryContentColor: Color = this.disabledCheckedSecondaryContentColor,
        disabledCheckedSplitContainerColor: Color = this.disabledCheckedSplitContainerColor,
        disabledCheckedBoxColor: Color = this.disabledCheckedBoxColor,
        disabledCheckedCheckmarkColor: Color = this.disabledCheckedCheckmarkColor,
        disabledUncheckedContainerColor: Color = this.disabledUncheckedContainerColor,
        disabledUncheckedContentColor: Color = this.disabledUncheckedContentColor,
        disabledUncheckedSecondaryContentColor: Color = this.disabledUncheckedSecondaryContentColor,
        disabledUncheckedSplitContainerColor: Color = this.disabledUncheckedSplitContainerColor,
        disabledUncheckedBoxColor: Color = this.disabledUncheckedBoxColor,
    ): SplitCheckboxButtonColors
```


Returns a copy of this SplitCheckboxButtonColors optionally overriding some of the values.

#### Parameters

| | |
| --- | --- |
| checkedContainerColor | Container or background color when the `SplitCheckboxButton` is checked |
| checkedContentColor | Color of the content like label when the `SplitCheckboxButton` is checked |
| checkedSecondaryContentColor | Color of the secondary content like secondary label when the `SplitCheckboxButton` is checked |
| checkedSplitContainerColor | Split container color when the `SplitCheckboxButton` is checked |
| checkedBoxColor | Box color when `SplitCheckboxButton` is checked |
| checkedCheckmarkColor | Checkmark color when `SplitCheckboxButton` is checked |
| uncheckedContainerColor | Container or background color when the `SplitCheckboxButton` is unchecked |
| uncheckedContentColor | Color of the content like label when the `SplitCheckboxButton` is unchecked |
| uncheckedSecondaryContentColor | Color of the secondary content like secondary label when the `SplitCheckboxButton` is unchecked |
| uncheckedSplitContainerColor | Split container color when the `SplitCheckboxButton` is unchecked |
| uncheckedBoxColor | Box color when the `SplitCheckboxButton` is unchecked |
| disabledCheckedContainerColor | Container color when the `SplitCheckboxButton` is disabled and checked |
| disabledCheckedContentColor | Color of the content like label when the `SplitCheckboxButton` is disabled and checked |
| disabledCheckedSecondaryContentColor | Color of the secondary content like secondary label when the `SplitCheckboxButton` is disabled and checked |
| disabledCheckedSplitContainerColor | Split container color when the `SplitCheckboxButton` is disabled and checked |
| disabledCheckedBoxColor | Box color when the `SplitCheckboxButton` is disabled and checked |
| disabledCheckedCheckmarkColor | Checkmark color when the `SplitCheckboxButton` is disabled and checked |
| disabledUncheckedContainerColor | Container color when the `SplitCheckboxButton` is unchecked and disabled |
| disabledUncheckedContentColor | Color of the content like label when the `SplitCheckboxButton` is unchecked and disabled |
| disabledUncheckedSecondaryContentColor | Color of the secondary content like secondary label when the `SplitCheckboxButton` is unchecked and disabled |
| disabledUncheckedSplitContainerColor | Split container color when the `SplitCheckboxButton` is unchecked and disabled |
| disabledUncheckedBoxColor | Box color when the `SplitCheckboxButton` is disabled and unchecked |




