Since different parts of the flame have different temperatures, these bits of wax molecules make those areas of the flame glow with different colors. How do candles with different colored flames work?