Flexible photonic crystals (PCs) constructed by PCs and special polymers are very promising to achieve a combination of vivid structural colors, mechanical robustness, and environment stability. However, PCs that incorporate polymer binders are still susceptible to destruction and subsequent loss of structural color when subjected to significant external forces or harsh environments. Besides, because most of these polymers are highly flammable, crucial fire safety is difficult to be guaranteed in the application of these materials. In this study, we report a poly(m-phenyleneisophthalamide) inverse opal (PMIA IO) structural color film through a SiO 2 PC template sacrificing method. Benefiting from the high rigid PMIA molecular structural configuration, the PMIA IO films are able to maintain their structural colors even in harsh conditions, such as large tensile stress, high and low temperatures, potent acids and bases, and ultraviolet radiation. More attractively, the PMIA IO films demonstrate excellent flame retardancy, with the limiting oxygen index (LOI) and flame retardant rating reaching 28 vol % and V0, respectively. We believe that the flexible structural color films with high strength, harsh environment stability, and flame retardancy, which are difficult for other structural color materials to possess simultaneously, have great potential for special applications in fire protection, national defense, aviation, marine, and aerospace fields.