In order to measure Stellar Temperature, we measure the brightness of the star through two filters, then we compare the red light & blue light, calculate their ratio & their spectra obtain, can we compare on computer models. In that way, we measure stellar temperature.
[Quite interesting, you should study your study-mat. you'll get that easily ]
Hope this helps!