According to weins displacement law λmT= constant or temperature ∝λn1 It represents that greater the temperature T of an emitted star, smaller the value of wave length λ. We also know the wave length of ray depends upon its colour. Hence, when the temperature of star increases, the wave length of star decreases. When temperature of star decreases, the wave length increases and star moves towards the red colour. Therefore, the colour of star indicates its temperature.