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.