changing colors being cycled through by counting values
in
Programming Questions
•
3 months ago
Hi! Could someone help me figure out how to change the color variation in the following image?
In the tutorial the author made it so that if a number of his database repeats once, it becomes brown, and dark green for twice, bright green for 3 times, and it continues ... But since I want to use my own numbers, any of which repeats only up to 5 times, I want to use only 5 colors, such as red, orange, yellow, green and blue (or any other combination). I hope I'm making sense
thanks in advance.
taken from
1