Hertzsprung–Russell diagram
As a matter of fact, when Hertzsprung-Russell diagrams were developed in the early 1900's, astronomers did not know how to find out the temperature of a star. The first diagrams plotted stars' absolute magnitude against color, represented by the spectral classes from blue-white to red.