starsWhy blue stars are generally hotter than red stars
A star's surface temperature affects the distribution of light it emits. Hotter stars emit a larger share at shorter wavelengths and often appear blue-white, while cooler stars can appear orange or red. Colour is a temperature clue, but apparent brightness also depends on size, distance and intervening material.