getColor

Returns an Color that represents the color of this DynamicColor in the given scheme.

Parameters

scheme

Defines the conditions of the user interface, for example, whether or not it is dark mode or light mode, and what the desired contrast level is.