Different types of light bulbs emit different intensities of wavelengths. Light sources that appear white always emit a high proportion of blue light.
The figures below represent the light spectra of a mercury vapour bulb (on the left) and a high-pressure sodium bulb (on the right). Light emitted by the mercury vapour bulb appears very white and contains much more blue light than the sodium bulb, which appears more yellow. This means that the mercury vapour bulb produces much more light pollution than the high-pressure sodium bulb.