Question: what relationship is there between star color and temperature?
Answer: The other major factor effecting a star's color is its temperature. As stars increase in heat, the overall radiated energy increases, and the peak of the curve moves to shorter wavelengths. In other words, as a star becomes hotter, the light it emits is pushed further and further towards the blue end of the spectrum.