whats the test called for finding the color of elements
The color of flames in general also depends on temperature; see flame color. The test involves introducing a sample of the element or compound to a hot, non-luminous flame, and observing the color of the flame that results. The idea of the test is that sample atoms evaporate and since they are hot, they emit light when being in flame.