In this work, narrowband pass and broadband pass filters are designed based on TiO2-SiO2 multilayers. These filters are used in observing planetary nebulas and emission nebulas. They are designed by using open source software open filter and optimized by using needle synthesis method (addition of thin layers called needles and analyze transmission till the best result achieved). Also results were cross-checked by using matrix method. The transmission of these filters is in the range of 486-501 nm (Oxygen-III and hydrogen-β) with a maximum transmission of 95%. Also it has a second peak at 656 nm for hydrogen-α where transmission reaches 87%.