Select which colors are applied to masses?

you should take a look at Dictionaries. This is one way to achieve what you want

3 Likes