Figure 1: Chemical structures of the most widely used photochromic molecules.

Azobenzenes, stilbenes and spiropyrans can be reverted either photochemically or thermally, while diarylethenes can be switched between open and closed form photochemically or electrochemically.