A liquid crystal device is provided that comprises a plurality of R
colored layers, a plurality of G colored layers, and a plurality of B
colored layers that are formed on either one of a pair of substrates and
are aligned in a predetermined arrangement in plan view, a
light-shielding layer formed between the colored layers, and a plurality
of spacers formed on either one of the pair of substrates and protruding
toward the other substrate. The plurality of spacers is formed around the
B colored layers and/or the R colored layers, but is not formed around
the G colored layers. Thus, even if a positional deviation occurs between
the substrates, the spacers do not get into the G colored layers.