getColorForElevation

open fun getColorForElevation(@NonNull context: Context, @Dimension elevation: Float): Int

Returns the corresponding surface color in RGB with the given elevation.