Substances will give off a distinctive color when burned or otherwise energized. You don't have to have expensive spectroscopy equipment to use color to identify what some unknown substance might be. Your eyes are quite sophisticated enough to do the job.