Lord Rayleigh calculated low energy elastic scattering of light from atoms using classical electromagnetism.
If the energy of the scattered photon is much less than the energy needed to excite an atom,
then the cross section may be approximated.
For the colorless gasses (like the ones in our atmosphere), the first excited state in the UV, so the scattering
of visible light with be proportional to
which explains why the sky is blue and sunsets are red.
Atoms with intermediate states in the visible will appear to be colored due to the strong resonances in the scattering.
Rayleigh got the same dependence from classical physics.