colorIndicator
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.
Returns a color code based on the progress percentage.
A string representing the color code for the progress indicator.
The current progress.
The total amount of work to be done.