These colors are generated by excited electrons relaxing back to lower energy levels. Each element has unique energy levels permitted to electrons by quantum mechanics. As an electron drops to a lower level a photon is emitted, carrying away the difference in energy and the higher the energy the shorter its wavelength.
The colour of a flame is not based on how many electrons and protons there are, however it is to do with electrons. When the electrons furthest from the nucleus of the atom are excited (in this case by the heat of the flame) they gain energy and "jump" up "energy levels". The electrons don't like this extra energy so in order to lose it, they emit a photon at a particular wavelength, which we perceive as colour.
The flame test for strontium - a strong red color.
The flame color of cesium is typically described as a sky-blue or violet color. When cesium is burned, the electrons in the cesium atoms get excited and emit energy in the form of light, producing the characteristic flame color.
Strontium gives a crimson color in a flame test due to the excitation of its electrons. When strontium ions are heated, the energy from the flame excites the electrons to higher energy levels. As these electrons return to their ground state, they release energy in the form of light, which for strontium corresponds to a characteristic wavelength in the red part of the spectrum, resulting in a crimson color.
The colour turns brick Red .
The color in a flame test is caused by the presence of specific metal ions in the sample. The cation is the one responsible for producing the color, as it emits characteristic wavelengths of light when it undergoes excitation in the flame.
You get and orange - yellow colour.
I suppose that the flame test was not applied to californium.
The blue flame.
Blue?
yellow
Barium ions give off a green colour when heated in a flame.