Method of synthesis photonic crystal heterostructures based on polystyrene films with opal structure has been described in this work. Influence of structure parameters of single layers on reflectance spectra has been determined. Effect of boundary between layers on appearing allowed states in photonic band gap has been discovered in like structures