By taking advantage of pK(a) difference for the isomers of a spiropyran ( MC and SP), a continuous and reversible shift of the absorption band of the closed for