diff --git a/html4docx/h4d.py b/html4docx/h4d.py index 85b992a..8aaf471 100644 --- a/html4docx/h4d.py +++ b/html4docx/h4d.py @@ -1077,7 +1077,7 @@ def add_styles_to_table_cell(self, styles, doc_cell, cell_row): if color: for paragraph in doc_cell.paragraphs: for run in paragraph.runs: - run.font.color.rgb = color + run.font.color.rgb = RGBColor(*color) # Set vertical align (for individual cells) if 'vertical-align' in styles: