What governs the visual color of a star, linking it directly to its surface temperature?

Answer

Wien's Displacement Law.

Wien's Displacement Law relates the peak wavelength of emitted light (which determines perceived color) directly to the object's absolute surface temperature.

What governs the visual color of a star, linking it directly to its surface temperature?

#Videos

How Do Main Sequence Stars Differ From Red Giants? - YouTube

astronomystarsstellar evolutionred giantsLuminositymain sequence stars