---
title: "ColorProvider"
description: "Provider of colors for a glance composable's attributes."
type: "interface"
---

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


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

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



```kotlin
public interface ColorProvider
```


Provider of colors for a glance composable's attributes.


## Functions

```kotlin
public fun getColor(context: Context): Color
```


Returns the color the provider would use in the given `context`.



