Get text color in xlsx files (Excelize)

I work with .xlsx files using Excelize (“github.com/360EntSecGroup-Skylar/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 “github.com/tealeg/xlsx”. 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.