Hello,
DOCXCustomizer, available in Premium licenses, allows changing styles on-the-fly. For example to set custom cell backgroundcolors.
The replaceTableVariable method allows to add new rows and replace placeholders in it.
To use background colors, they must be already set it in the template or create the table from scratch (using addTable, embedHtml or WordFragments).
Regards.