For both SL and HL, find the peak wavelength of the star's continuous emission spectrum and apply Wien's displacement law. The shorter the peak wavelength, the higher the star's surface temperature.
The Reasoning
A star behaves approximately as a black body, meaning that it emits a continuous spectrum whose intensity varies with wavelength. The wavelength at which the emitted intensity is greatest is called the peak wavelength, .
Wien's displacement law relates this wavelength to the star's absolute surface temperature:
