The invention discloses a color-film substrate, a display panel and a display device. The color-film substrate comprises a display area, a transition area and a non-display area, wherein in a first color resistance group, adjacent to a shading layer, in the transition area, the area of at least two first color resistance is unequal, the area of at least two second color resistance is unequal or the area of at least two third color resistance is unequal; in the first color resistance group, the area sum of the first color resistance is S1, the area sum of the second color resistance is S2, and the area sum of the third color resistance is S3. By allowing the S1, the S2 and the S3 in the first color resistance group to be equal in a preset error range, the deviation between the brightness ratios of first color subpixels corresponding to the first color resistance, the second color subpixels corresponding to the second color resistance and the third color subpixels corresponding to the third color resistance and set values is small, and accordingly the color cast phenomenon of the edge areas of a special-shaped display screen can be reduced, and a display effect is increased.