---
title: "CheckboxColors"
description: "Represents the content colors used in [Checkbox] in different states."
type: "interface"
---

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


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

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



```kotlin
public interface CheckboxColors
```


Represents the content colors used in `Checkbox` in different states.


## Functions

```kotlin
@Composable public fun boxColor(enabled: Boolean, checked: Boolean): State<Color>
```


Represents the box color for this `Checkbox`, depending on the `enabled` and `checked`
properties.

#### Parameters

| | |
| --- | --- |
| enabled | Whether the `Checkbox` is enabled |
| checked | Whether the `Checkbox` is currently checked or unchecked |



```kotlin
@Composable public fun checkmarkColor(enabled: Boolean, checked: Boolean): State<Color>
```


Represents the checkmark color for this `Checkbox`, depending on the `enabled` and `checked`
properties.

#### Parameters

| | |
| --- | --- |
| enabled | Whether the `Checkbox` is enabled |
| checked | Whether the `Checkbox` is currently checked or unchecked |




