The Sun is actually white
Contradicting everything that you learned in kindergarten and coloring our sun, the sun actually is white and not yellow. It is our atmosphere that gives the sun the yellowish tint that we are familiar with.
Stars have different colors depending on what stage of their lifecycle they are, and what temperature they're burning. Stars that are relatively cool, and burn at around 3500 Kelvin will be red. Stars that are really hot, over 10,000 Kelvin, will be blue. Our sun burns at approximately 6,000 degrees kelvin, which means there is only one color it can be; white!