apply

abstract fun apply(color: Color, elevation: Dp): Color

Returns the new background Color to use, representing the original background color with an overlay corresponding to elevation applied. Typically this should only be applied to Colors.surface.