<div class='sourceset sourceset-common'>Common</div>

```kotlin
object RadioButtonDefaults
```

Defaults used in [RadioButton](/jetpack-compose/androidx.compose.material/material/components/RadioButton).

## Functions

<h2 id="colors-selectedcolor-unselectedcolor-disabledcolor">colors</h2>

```kotlin
@Composable
    fun colors(
        selectedColor: Color = MaterialTheme.colors.secondary,
        unselectedColor: Color = MaterialTheme.colors.onSurface.copy(alpha = 0.6f),
        disabledColor: Color = MaterialTheme.colors.onSurface.copy(alpha = ContentAlpha.disabled),
    ): RadioButtonColors
```

Creates a [RadioButtonColors](/jetpack-compose/androidx.compose.material/material/interfaces/RadioButtonColors) that will animate between the provided colors according to the
Material specification.

#### Parameters

| | |
| --- | --- |
| selectedColor | the color to use for the RadioButton when selected and enabled. |
| unselectedColor | the color to use for the RadioButton when unselected and enabled. |
| disabledColor | the color to use for the RadioButton when disabled. |

#### Returns

| | |
| --- | --- |
|  | the resulting [RadioButtonColors](/jetpack-compose/androidx.compose.material/material/interfaces/RadioButtonColors) used for the RadioButton |