Why Be and Mg do not impart colour to the flame?
The electrons in beryllium and magnesium are too strongly bound to get excited by flame. Hence, these elements do not impart any colour to the flame.