readableShadowColor

fun readableShadowColor(backgroundColor: Color): Color

Returns an appropriate shadow color based on background brightness.

Return

Black shadow for light backgrounds, white shadow for dark backgrounds

Parameters

backgroundColor

The background color to check against