Electronics is different, though, because every form of electromagnetic energy is manifested on a single spectrum and shares certain fundamental characteristics.
This refraction eliminates both the red end of the spectrum (red light is not bent enough by the air layer to form part of the second image) and the blue frequencies (which are scattered away: this selective scattering is why the sky is blue).