Certain sunglasses have small crystals of $\ce{AgCl}$ incorporated into the lenses, on exposure to light of appropriate wavelength produces a grey colour to reduce the glare following the reaction: $$\ce{ \underset{(colourless)}{AgCl} ->[h\nu] \underset{(grey)}{Ag} + Cl }$$
If the heat of reaction for the decomposition of $\ce{AgCl}$ is $\pu{248 kJ/mol}$, what maximum wavelength is needed to induce the desired process?
Does this mean that by absorbing only a certain wavelength, electrons move for a lower to higher energy state and react? Why does it only emit grey light, but does not any colours of the spectrum in order?
The question asks about the "heat of decomposition". Does this mean the energy required to excite an electron and cause a reaction? When a molecule absorb a photon, it is breaking the atoms apart by moving electrons?
Please help clear up any misunderstandings in this question.