Dichroic filters use the principle of thin-film interference, and produce colors in the same way as oil films on water. When light strikes an oil film at an angle, some of the light is reflected from the top surface of the oil, and some is reflected from the bottom surface where it is in contact with the water.