I am trying to make a skyscraper, and I want the windows to randomly be on or off. In the image shown below, on the middle skyscraper, the windows are a repeating 2x2 texture, where three of the pixels are transparent and one is opaque. This texture is mixed with the gradient texture below (a 4x4 Cubic texture), with the windows' opacity as the Fac.
I would like to randomize the color of each tile of the window texture, to make most windows yellow, and some black. How would I go about doing this?