Monodisperse polystyrene nanoparticles with a diameter of 173 nm were incorporated into a polydimethylsiloxane matrix where they display an iridescent color that can be attributed to the photonic crystal effect. The film is of violet color if placed in plain water, but turns to red in the presence of the non-polar solvent n-hexane. Several solvents were studied in some detail. We show that such films are capable of monitoring the water content of ethanol/water mixtures, where only 1% (v/v) of water leads to a shift of the peak wavelength of reflected light by 5 nm. The method also can be applied to determine, both visually and instrumentally, the fraction of methanol in ethanol/methanol mixtures. Here, a fraction of 1% of methanol (v/v) results in a wavelength shift of 2 nm. The reflected wavelength is not influenced by temperature changes nor impeded by photobleaching. The signal changes are fully reversible and response times are <1 s.