Color-rendering manipulation of solar cells is drawing increasing interest, since the integration of color displaying can promote various advanced applications. However, the dual functionality of high-performance operation and easy processing remain a challenge. Here we propose a colorful perovskite solar cell (PSC) based on purely planar layers. The photonic crystal (PC), which does not interfere with the PSC processing, enables the display of high-purity colors and maintaining the number of PC layers at 4–6. The fabricated PSC with a four-layer PC successfully displays red-green-blue (RGB) colors, with the power-conversion efficiency of 10.94%, 11.01%, and 13.70%, respectively. Further study indicates that by employing a six-layer PC the PSC can obtain excellent color-displaying effect with the color gamut up to 81.8% of the standard RGB. It also shows that the design has a good tolerance to the deviation of layer thickness.