colorIndicator

fun colorIndicator(progress: Long, total: Long): String

Returns a color code based on the progress percentage.

Return

A string representing the color code for the progress indicator.

Parameters

progress

The current progress.

total

The total amount of work to be done.