Get cell color from .xlsx
Looks like the sheet is using the built-on colour index. The mapping for these is in the source of openpyxl.styles.color COLOR_INDEX = ( ‘00000000’, ’00FFFFFF’, ’00FF0000′, ‘0000FF00’, ‘000000FF’, #0-4 ’00FFFF00′, ’00FF00FF’, ‘0000FFFF’, ‘00000000’, ’00FFFFFF’, #5-9 ’00FF0000′, ‘0000FF00’, ‘000000FF’, ’00FFFF00′, ’00FF00FF’, #10-14 ‘0000FFFF’, ‘00800000’, ‘00008000’, ‘00000080’, ‘00808000’, #15-19 ‘00800080’, ‘00008080’, ’00C0C0C0′, ‘00808080’, ‘009999FF’, #20-24 ‘00993366’, ’00FFFFCC’, … Read more