Abstract: A test strip device exhibits visual changes, such as color changes, when there is a only slight difference in the composition of liquids such as gasoline, oil, ethanol and water. Such a slight liquid composition difference usually requires a sophisticated and expensive instrument to differentiate. The test strip consists of one and more than one inverse opal films deposited on a substrate and achieves this goal of differentiation in a simple, fast and energy-free manner.