What feature, rather than general visual color, do astronomers use to reliably detect Doppler shifts?

Answer

The detailed structure of the star's spectrum, specifically absorption lines

Astronomers rely on the detailed structure of the spectrum. The real giveaway is the precise position of absorption lines, which shift predictably due to motion.

What feature, rather than general visual color, do astronomers use to reliably detect Doppler shifts?
lightcolorstarmotionspectrum