The application discloses a display panel and a
display device. The display panel comprises a substrate, a pixel layer arranged on one side of the substrate, the pixel layer comprising a plurality of pixel units, each pixel unit comprising at least two sub-pixels with different colors; a color resistance layer comprising at least two
layers of sub-color resistance
layers with different colors, each sub-color resistance layer comprising a
light transmission opening and a color resistance part distributed around the
light transmission opening, the color resistance part comprising a light filtering sub-part and a functional sub-part arranged around the light filtering sub-part, the light filtering sub-part being located on the side of the sub-pixel with the same color as itself away from the substrate, the functional sub-parts of the at least two
layers of sub-color resistance layers with different colors being stacked to form a light blocking structure, in the two adjacent sub-color resistance layers, the light filtering sub-part of the sub-color resistance layer away from the substrate is located in the
light transmission opening of the sub-color resistance layer close to the substrate, and the
refractive index of the sub-color resistance layer on the side close to the substrate is smaller than that of the sub-color resistance layer away from the substrate.