Flame tests — mixtures of different metal ions

So you if you use a mixture of different metal ions in a flame test, the flame colours of some ions may be hidden by the colours of others.

I’m wondering why that happens, do the flame colours mix?

Thanks in advance