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, were found to be related in a
very specific way:
This diagram was to be known as,
The Hertzsprung-Russell Diagram