list 3 ways python can handle colors.
Answers
Answered by
11
However, when I update things, the colors change.
So what I would favor is to have a function which has an input argument I such as
def nonrandomColor(i):
...
return color
would always return the same color for the same I, while keeping the ability to generate arbitrarily many colors.
Answer does not have to be formulated in Python, it's more the general layout I'm interested in.
Similar questions
Math,
2 months ago
Science,
2 months ago
Hindi,
2 months ago
India Languages,
4 months ago
Social Sciences,
4 months ago
English,
11 months ago
Physics,
11 months ago