A poly(4-vinylpyridine)-based inverse opal.