Synthesis, photochromic properties, and light-controlled metal complexation of a naphthopyran derivative.