Three stars A, B, C have surface temperature respectively. Star A appears bluish, star B appears reddish and star C yellowish. Hence
The appearance of a star depends on the wavelength (λm) at which it radiates maximum energy.
By Wien's law,
As .
Star A (bluish) radiates the shortest λ and must be at the highest temperature, while star B (reddish) must be at the lowest temperature.