Hi there, I did some testing by adding a background colour to an HTML table. The formatting stayed put, even when flipping between the Visual and Text editors, and even on publication:
<table bgcolor="#000000">
<tr>
<td>testing testing</td>
</tr>
</table>
Please feel free to test this and let me know if this would be a solution to your issue, thanks!