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

```kotlin
public object SelectableChipDefaults
```

Contains the default values used by [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip)s and [SplitSelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SplitSelectableChip)s

## Functions

<h2 id="selectablechipcolors-selectedstartbackgroundcolor-selectedendbackgroundcolor-selectedcontentcolor-selectedsecondarycontentcolor-selectedselectioncontrolcolor-unselectedstartbackgroundcolor-unselectedendbackgroundcolor-unselectedcontentcolor-unselectedsecondarycontentcolor-unselectedselectioncontrolcolor-gradientdirection">selectableChipColors</h2>

```kotlin
@Composable
public fun selectableChipColors(
    selectedStartBackgroundColor: Color =
        MaterialTheme.colors.surface
            .copy(alpha = 0f)
            .compositeOver(MaterialTheme.colors.surface),
    selectedEndBackgroundColor: Color =
        MaterialTheme.colors.primary
            .copy(alpha = 0.5f)
            .compositeOver(MaterialTheme.colors.surface),
    selectedContentColor: Color = MaterialTheme.colors.onSurface,
    selectedSecondaryContentColor: Color = MaterialTheme.colors.onSurfaceVariant,
    selectedSelectionControlColor: Color = MaterialTheme.colors.secondary,
    unselectedStartBackgroundColor: Color = MaterialTheme.colors.surface,
    unselectedEndBackgroundColor: Color = unselectedStartBackgroundColor,
    unselectedContentColor: Color = contentColorFor(selectedEndBackgroundColor),
    unselectedSecondaryContentColor: Color = unselectedContentColor,
    unselectedSelectionControlColor: Color = unselectedContentColor,
    gradientDirection: LayoutDirection = LocalLayoutDirection.current,
): SelectableChipColors
```

Creates a [SelectableChipColors](/jetpack-compose/androidx.wear.compose/compose-material/interfaces/SelectableChipColors) for use in a [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip). [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip)s are
expected to have a linear gradient background when selected, similar to a
[ChipDefaults.gradientBackgroundChipColors](/jetpack-compose/androidx.wear.compose/compose-material/objects/ChipDefaults) and a solid neutral background when not selected
(similar to a [ChipDefaults.secondaryChipColors](/jetpack-compose/androidx.wear.compose/compose-material/objects/ChipDefaults))

#### Parameters

| | |
| --- | --- |
| selectedStartBackgroundColor | The background color used at the start of the gradient of a [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip) when enabled and selected. |
| selectedEndBackgroundColor | The background color used at the end of the gradient of a [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip) when enabled and selected. |
| selectedContentColor | The content color of a [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip) when enabled and selected. |
| selectedSecondaryContentColor | The secondary content color of this [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip) when enabled and selected, used for secondaryLabel content |
| selectedSelectionControlColor | The selection control color of this [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip) when enabled and selected, used for selectionControl content |
| unselectedStartBackgroundColor | The background color used at the start of the gradient of a [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip) when enabled and unselected. |
| unselectedEndBackgroundColor | The background color used at the end of the gradient of a [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip) when enabled and unselected. |
| unselectedContentColor | The content color of a [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip) when enabled and unselected. |
| unselectedSecondaryContentColor | The secondary content color of this [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip) when enabled and unselected, used for secondaryLabel content |
| unselectedSelectionControlColor | The selection control color of this [SelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SelectableChip) when enabled and unselected. |
| gradientDirection | Whether the chips gradient should be start to end (indicated by [LayoutDirection.Ltr](/jetpack-compose/androidx.compose.ui/ui-unit/classes/LayoutDirection.Ltr)) or end to start (indicated by [LayoutDirection.Rtl](/jetpack-compose/androidx.compose.ui/ui-unit/classes/LayoutDirection.Rtl)). |

<hr class="docs-overload-divider">

<h2 id="splitselectablechipcolors-backgroundcolor-contentcolor-secondarycontentcolor-selectedselectioncontrolcolor-unselectedselectioncontrolcolor-splitbackgroundoverlaycolor">splitSelectableChipColors</h2>

```kotlin
@Composable
public fun splitSelectableChipColors(
    backgroundColor: Color = MaterialTheme.colors.surface,
    contentColor: Color = MaterialTheme.colors.onSurface,
    secondaryContentColor: Color = MaterialTheme.colors.onSurfaceVariant,
    selectedSelectionControlColor: Color = MaterialTheme.colors.secondary,
    unselectedSelectionControlColor: Color = contentColor,
    splitBackgroundOverlayColor: Color = Color.White.copy(alpha = 0.05f),
): SplitSelectableChipColors
```

Creates a [SplitSelectableChipColors](/jetpack-compose/androidx.wear.compose/compose-material/interfaces/SplitSelectableChipColors) for use in a [SplitSelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SplitSelectableChip).

#### Parameters

| | |
| --- | --- |
| backgroundColor | The background color of this [SplitSelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SplitSelectableChip) when enabled |
| contentColor | The content color of this [SplitSelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SplitSelectableChip) when enabled. |
| secondaryContentColor | The secondary content color of this[SplitSelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SplitSelectableChip) when enabled |
| selectedSelectionControlColor | The selection control content color of this [SplitSelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SplitSelectableChip) when enabled. |
| unselectedSelectionControlColor | The selection control content color of this [SplitSelectableChip](/jetpack-compose/androidx.wear.compose/compose-material/components/SplitSelectableChip) when enabled. |
| splitBackgroundOverlayColor | The color to use to lighten/distinguish the background behind the selection control for a split background chip. A split background chip has two tappable areas, one for the main body of the chip and one for area around the selection control icon. |