In this work, diffractive microlenses were fabricated in GaN using a gray-level mask and inductively coupled plasma etching technique. We also propose to insert the GalN band- pass filter in the microlenses to enhance the ultraviolet/visible rejection