Genpdf: background colour of table row

There seems to be no means of setting background colour in genpdf.

Would it be possible to set the background colour (of a table row) using some lower-level utilities, without having to throw away all the structure I already have built up in genpdf?

Is there a better alternative for generating PDFs in Rust?