verticalGradient

fun verticalGradient(colors: List<Color>, inactiveAlpha: Float = 0.3f): WaveformColors

Creates colors with a vertical gradient based on amplitude.