# SplitSelectableChipColors

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


```
interface SplitSelectableChipColors
```

<br />

*** ** * ** ***

Represents the background and content colors used in `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChip.composable#SplitSelectableChip(kotlin.Boolean,kotlin.Function1,kotlin.Function1,kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function1,androidx.wear.compose.material.SplitSelectableChipColors,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.layout.PaddingValues,androidx.compose.ui.graphics.Shape,kotlin.Function1)`s in different states.

## Summary

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/State<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color>` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#backgroundColor(kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the background color for this chip, depending on whether it is `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#backgroundColor(kotlin.Boolean)`. |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/State<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color>` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#contentColor(kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the content color for this chip, depending on whether it is `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#contentColor(kotlin.Boolean)` |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/State<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color>` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#secondaryContentColor(kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the secondary content color for this chip, depending on whether it is `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#secondaryContentColor(kotlin.Boolean)` |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/State<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color>` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#selectionControlColor(kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the color for the selection control content for this chip, depending on the `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#selectionControlColor(kotlin.Boolean,kotlin.Boolean)` and `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#selectionControlColor(kotlin.Boolean,kotlin.Boolean)` properties. |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/State<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color>` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#splitBackgroundOverlay(kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the overlay to apply to a split background SplitSelectableChip to distinguish between the two tappable areas. |

## Public functions

### backgroundColor

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

```
@Composable
fun backgroundColor(enabled: Boolean): State<Color>
```

Represents the background color for this chip, depending on whether it is `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#backgroundColor(kotlin.Boolean)`.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the chip is enabled |

### contentColor

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

```
@Composable
fun contentColor(enabled: Boolean): State<Color>
```

Represents the content color for this chip, depending on whether it is `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#contentColor(kotlin.Boolean)`

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the chip is enabled |

### secondaryContentColor

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

```
@Composable
fun secondaryContentColor(enabled: Boolean): State<Color>
```

Represents the secondary content color for this chip, depending on whether it is `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#secondaryContentColor(kotlin.Boolean)`

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the chip is enabled |

### selectionControlColor

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

```
@Composable
fun selectionControlColor(enabled: Boolean, selected: Boolean): State<Color>
```

Represents the color for the selection control content for this chip, depending on the `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#selectionControlColor(kotlin.Boolean,kotlin.Boolean)` and `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#selectionControlColor(kotlin.Boolean,kotlin.Boolean)` properties.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the chip is enabled |
| `selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the chip is currently selected or unselected |

### splitBackgroundOverlay

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

```
@Composable
fun splitBackgroundOverlay(enabled: Boolean, selected: Boolean): State<Color>
```

Represents the overlay to apply to a split background SplitSelectableChip to distinguish between the two tappable areas. The overlay will be applied to "lighten" the background of area under the selection control, depending on the `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#splitBackgroundOverlay(kotlin.Boolean,kotlin.Boolean)` and `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SplitSelectableChipColors#splitBackgroundOverlay(kotlin.Boolean,kotlin.Boolean)` properties.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the chip is enabled |
| `selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the chip is currently selected or unselected |