A black can absorbs radiation more efficiently than does a shiny can, which reflects most of the radiation away, so the black can heats up fastest. It also cools down fastest. Both absorption and emission are determined by the same parameter, the emissivity.
The temperature as a function of time is approximately given by Newton's Law of Cooling:
T(t) = Tenv + (Tinit - Tenv) e-λt
Tenv is the temperature
of the surrounding environment,
Tinit is the initial
temperature of the object,
λ is a measure of how quickly
the temperature change occurs.