Original: The spectral class of a star is a designated class of a star describing the ionization of its chromosphere, what atomic excitations are most prominent in the light, giving an objective measure of the temperature in this chromosphere.
Simplified: Stars are also grouped into spectral types or classes by color.