Skip to content

Commit 51a4963

Browse files
jfrfonsecagfyoung
authored andcommitted
Inclusion of new NAMED_COLORS
included 'brown' (#A52A2A), 'pink' ('FFC0CB') and 'grey', US-standard spelling of the word 'gray'
1 parent 2952fbd commit 51a4963

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/io/formats/excel.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,9 @@ def build_font(self, props):
277277

278278
NAMED_COLORS = {
279279
'maroon': '800000',
280+
'brown': 'A52A2A',
280281
'red': 'FF0000',
282+
'pink': 'FFC0CB',
281283
'orange': 'FFA500',
282284
'yellow': 'FFFF00',
283285
'olive': '808000',
@@ -291,6 +293,7 @@ def build_font(self, props):
291293
'navy': '000080',
292294
'black': '000000',
293295
'gray': '808080',
296+
'grey': '808080',
294297
'silver': 'C0C0C0',
295298
'white': 'FFFFFF',
296299
}

0 commit comments

Comments
 (0)