The color of a star mostly indicates a star's temperature, and it can also suggest the star's age. Class O stars, which are blue in color, are the hottest, and class M stars, which are red in color, are the coldest. This can be tricky to remember, as we typically think of blue as a cool color and red as a hot one.