The chart above shows how a star's temperature relates to its color. Rigel is a blue star, Betelgeuse is a red star, and the Sun is a yellow star. How do the temperatures of these stars compare?

The Sun is hotter than Betelgeuse and cooler than Rigel.

Rigel is hotter than Betelgeuse and cooler than the Sun.

The three stars have different colors but the same temperature.

Betelgeuse is hotter than the Sun and cooler than Rigel.

Rigel is hotter than Betelgeuse and cooler than the Sun.