Spectrum of Light Passed Through a Gas