The absorbance, fluorescence, and refractive index of a photochromic material can be modulated under the influence of optical stimulations. The reversible modification of these macroscopic properties is a result of photoinduced transformations at the molecular level. These processes can be exploited to mediate the interplay of optical signals and offer the opportunity to design and implement photonic devices for optical processing based on molecular components.