Get text color in xlsx files (Excelize)

I work with .xlsx files using Excelize (“”).
There was a need to identify the text color in the cell.
GetCellStyle does not allow to unambiguously determine the color of the text, as it simply returns an int
How to get text color in a cell?

I decided to use “”. font_color := cell.GetStyle().Font.Color

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.