I assumed the question was actually about salts of the metals (rather than the elemental metals themselves) because:
1. This question is being asked in chemistry, rather than in physics, and as a student of chemistry, you learn to guess what the cation is by the color of the salt. Salts whose cations are of transition metal elements, tend to be distinctly colored.
2. Most transition metals (elemental) are not colorful. The only ones that are clearly colored are Cu and Au. In addition, Ta and Os have a faint bluish tinge. The rest of the 30 or so transition metals are all metallic/silvery grey/white. Among the dozen s-block metals, Cs has a golden lustre.
The reason Cu and Au have reddish, yellowish hues is because they do not reflect high frequency light as well as they reflect low frequency light. The reason that high frequencies are absorbed by these metals has to do with a property known as the plasma frequency (and importantly, the dispersion relation of surface plasmons) - this is the characteristic frequency with which the free electron gas oscillates in the background of the positive lattice. Low frequency light will not be transmitted through a metal because the electron gas responds to the oscillating electric field and screens it out. But if the frequency is greater than the plasma frequency, the electron gas can not respond fast enough to damp the light. For most metals, the plasmon frequencies are far in the UV range (so most metals reflect all the visible frequencies almost equally well and end up looking greyish/whitish as a result), but for gold and copper, the effective plasma frequency is a little lower (making them appear yellowish/reddish). So, in short, the frequency dependence of the reflectivity decides whether something looks colored or not (and for most metals, this dependence is roughly the same, though there is a slight difference in the surface plasmon dispersion of main group metals and transition metals).