Electroactive inverse opal: a single material for all colors.