What fundamental physics concept explains why a star's perceived color is directly linked to its surface temperature?

Answer

Black-body radiation

The relationship between temperature and the peak intensity of emitted radiation across a continuous spectrum is governed by the principles of black-body radiation, as described by Wien's law.

What fundamental physics concept explains why a star's perceived color is directly linked to its surface temperature?
temperaturecolorsequencestar