A star's colour is related to its surface temperature. The shorter the wavelength of light emitted by a star, the hotter it is. Blue or blue-white light with shorter wavelengths is the hottest. Cooler colours have longer wavelengths, such as red or red-brown.