Answer:
By their color
Explanation:
We could determine the coolest stars by observing their colors.
Coolest stars usually have red color, while hottest stars are blue in color.
This can be compared to the Flame colors, the hottest region of a flame is always the blue region while the coolest region is the red part.