---
title: "dynamicDarkColorScheme"
description: "Creates a dark 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 dark
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 dynamicDarkColorScheme(context: Context): ColorScheme
```


Creates a dark 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 dark
theme variant.

#### Parameters

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




