---
title: "dynamicLightColorScheme"
description: "Creates a light dynamic color scheme.

Use this function to create a color scheme based off the system wallpaper. If the developer
changes the wallpaper this color scheme will change accordingly. This dynamic scheme is a light
theme variant."
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-android'>Android</div>


```kotlin
@RequiresApi(Build.VERSION_CODES.S)
fun dynamicLightColorScheme(context: Context): ColorScheme
```


Creates a light dynamic color scheme.

Use this function to create a color scheme based off the system wallpaper. If the developer
changes the wallpaper this color scheme will change accordingly. This dynamic scheme is a light
theme variant.

#### Parameters

| | |
| --- | --- |
| context | The context required to get system resource data. |




