What physical aspect dictates a star’s color?

Answer

Its effective surface temperature

A star’s color is dictated by its effective surface temperature, which is influenced by the star’s mass.

What physical aspect dictates a star’s color?
astronomylifespanstarsblue stars