Photo chemical reaction takes place.Here the metallic chloride which is used to make coins is silver chloride.
Equation: 2AgCl ⇒ 2Ag+Cl₂↑
When silver chloride exposed to sunlight it decomposes to chlorine gas and silver metal . In this process the white colour of silver metal turns from white to grey .
Here the X is silver .