Grayscale lithography for metal-insulator-metal color filters