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

```kotlin
object CardContainerDefaults
```

## Functions

<h2 id="contentcolor-contentcolor-focusedcontentcolor-pressedcontentcolor">contentColor</h2>

```kotlin
@ReadOnlyComposable
    @Composable
    fun contentColor(
        contentColor: Color = MaterialTheme.colorScheme.onSurface,
        focusedContentColor: Color = contentColor,
        pressedContentColor: Color = focusedContentColor,
    ) =
        CardContainerColors(
            contentColor = contentColor,
            focusedContentColor = focusedContentColor,
            pressedContentColor = pressedContentColor,
        )
```

Creates [CardContainerColors](/jetpack-compose/androidx.tv/tv-material/classes/CardContainerColors) that represents the default content colors used in a
CardContainer.

#### Parameters

| | |
| --- | --- |
| contentColor | the default content color of this CardContainer. |
| focusedContentColor | the content color of this CardContainer when focused. |
| pressedContentColor | the content color of this CardContainer when pressed. |