dynamicColorScheme

fun dynamicColorScheme(seedColor: Color, isDark: Boolean, isAmoled: Boolean, style: PaletteStyle = PaletteStyle.TonalSpot, contrastLevel: Double = Contrast.Default.value, isExtendedFidelity: Boolean = false, modifyColorScheme: (ColorScheme) -> ColorScheme? = null): ColorScheme

Creates a ColorScheme based on the given seedColor and isDark mode.

Parameters

seedColor

The color to base the scheme on.

isDark

Whether the scheme should be dark or light.

isAmoled

Whether the dark scheme is used with Amoled screen (Pure dark).

style

The style of the scheme.

contrastLevel

The contrast level of the scheme.

isExtendedFidelity

Whether to use the extended fidelity color set. See MaterialDynamicColors.