NOVELTY - A photonic crystal of nickel inverse opal structure comprises a nickel component with inverse opal structure.    USE - The photonic crystal of nickel inverse opal structure is useful for field of plasma, photo-communication, solar battery, catalytic material, and battery electrode.    ADVANTAGE - The process for preparing the photonic crystal of nickel inverse opal structure is simple and convenient.    DETAILED DESCRIPTION - An INDEPENDENT CLAIM is a preparation method of the photonic crystal of nickel inverse opal structure, comprising: (a) washing indium tin oxide (ITO) glass substrate and blowing it dry for use; (b) preparing suspension with colloidal particle solid phase concentration of 0.24% and diameter of polystyrene micro ball that is 50 nm to 2 mu m; and putting it in a first container; (c) putting the ITO glass substrate in the suspension obtained in (b), forming an angle of 80 degrees with the liquid surface of the suspension; (d) putting the first container having ITO glass substrate in the suspension in (c) to a constant temperature cultivation case, controlling the temperature at 45-50 degrees C; evaporating water in the polystyrene suspension after 240 hours to obtain the three-dimensional colloid crystal template; and (e) using the three-dimensional colloid crystal template to prepare the photonic crystal of nickel inverse opal structure; where the process of using the three-dimensional colloid crystal template to prepare the photonic crystal of nickel inverse opal structure comprises preparing mixed solution by 2.13 mol/L nickel sulfate (NiSO4), 0.35 mo/L nickel chloride (NiCl2), and 0.43 mol/L boric acid (H3BO3), and putting the mixed solution into a second container; putting the three-dimensional colloid crystal template to the mixed solution; using a three-electrode system to carry out metal nickel electrochemical deposition in the three-dimensional colloid crystal template; using toluene solvent to soak the sample until the three-dimensional colloid crystal template is completely dissolved; taking it out; and washing it to obtain the photonic crystal of nickel inverse opal structure.