In 1860, Kirchhoff shows that a body only emits light of the color it absorbs.
A black body absorbs all light and accordingly emits light in all colors. Its color spectrum depends only on its temperature.