private fun getRandomColor(number: Int, colors: List<String>, range: Int): String

Gets a random color from the provided list of colors based on the number

Return

The chosen color

Parameters

number

The number to use to get the color

colors

The list of colors to choose from

range

The range of colors to choose from