Integrated light spectra
They took special pictures (called spectra) that revealed hidden details.
Technical definition
The spectrum of light emitted by a large number of stars within a cluster, obtained by combining the individual starlight with advanced spectrographic techniques.