What properties of stars were known at that time?
But-- if they knew distance (via parallax), they knew LUMINOSITY.
For most stars, spectral types
(essentially temperature) and LUMINOSITY (=Absolute Magnitude),
were found to be related in a very unique way:
This diagram was to be known as, The Hertzsprung-Russell (H-R) Diagram, named after the astronomers who discovered this relationship.