The colors seen are the colors of the rainbow with red being the coldest and violet the warmest. Decrease the brightness of the bulb. So, when the bulb is hotter, more blue is seen and when it is cooler more red is seen. This shows that cooler objects radiate most of their light towards the red end of the spectrum. This is the same as what happens with stars.
Hotter stars have more blue in their spectrum while cooler stars radiate more in the red end.
Actually most stars are cool red stars which radiate much of their energy in the infrared.