from reportlab.pdfgen import canvas
from reportlab.lib.pagesizes import A4
c=canvas.Canvas("Background",pagesize=A4)
c.setFillColorRGB(1,0,0)
c.rect(5,5,652,792,fill=1)
c.setTitle("Background")
c.showPage()
c.save()
solved How to set a pdf background color? [closed]