Reversible optical regulation has potential applications in optical anti-counterfeiting, storage, and catalysis. Compared to common power materials, the reverse opal structure has a larger specific surface area and an increased contact area for optical regulation, which is expected to achieve higher regulation rates. However, it is difficult to achieve reversible and repeatable regulation of the luminescent properties of photonic crystals, especially with the current research on the structural collapse of photonic crystals. In this work, WO3: Yb3+, Er3+ inverse photonic crystals were prepared by the template approach, and reversible multi-mode optical modification was investigated. Upon heat treatment in a reducing atmosphere or air, the color of the photonic crystals can reversibly change from light yellow to dark green, accompanied by changes in absorption and upconversion of luminescence intensity. The stability and fatigue resistance of this reversible optical modification ability were explored through cyclic experiments, providing potential practical applications for photocatalysis, optical information storage, and electrochromism.