List of colors that you can set for graphs in openpyxl.

Programming

You can use openpyxl in Python to generate an Excel file and set the following colors for the graph.

However, I could not determine the actual colors by looking at the names, so I generated a graph with all the colors set.

aliceBlue

antiqueWhite

aqua

aquamarine

azure

beige

bisque

black

blanchedAlmond

blue

blueViolet

brown

burlyWood

cadetBlue

chartreuse

chocolate

coral

cornflowerBlue

cornsilk

crimson

cyan

darkBlue

darkCyan

darkGoldenrod

darkGray

darkGreen

darkGrey

darkKhaki

darkMagenta

darkOliveGreen

darkOrange

darkOrchid

darkRed

darkSalmon

darkSeaGreen

darkSlateBlue

darkSlateGray

darkSlateGrey

darkTurquoise

darkViolet

deepPink

deepSkyBlue

dimGray

dimGrey

dkBlue

dkCyan

dkGoldenrod

dkGray

dkGreen

dkGrey

dkKhaki

dkMagenta

dkOliveGreen

dkOrange

dkOrchid

dkRed

dkSalmon

dkSeaGreen

dkSlateBlue

dkSlateGray

dkSlateGrey

dkTurquoise

dkViolet

dodgerBlue

firebrick

floralWhite

forestGreen

fuchsia

gainsboro

ghostWhite

gold

goldenrod

gray

green

greenYellow

grey

honeydew

hotPink

indianRed

indigo

ivory

khaki

lavender

lavenderBlush

lawnGreen

lemonChiffon

lightBlue

lightCoral

lightCyan

lightGoldenrodYellow

lightGray

lightGreen

lightGrey

lightPink

lightSalmon

lightSeaGreen

lightSkyBlue

lightSlateGray

lightSlateGrey

lightSteelBlue

lightYellow

lime

limeGreen

linen

ltBlue

ltCoral

ltCyan

ltGoldenrodYellow

ltGray

ltGreen

ltGrey

ltPink

ltSalmon

ltSeaGreen

ltSkyBlue

ltSlateGray

ltSlateGrey

ltSteelBlue

ltYellow

magenta

maroon

medAquamarine

medBlue

medOrchid

medPurple

medSeaGreen

medSlateBlue

medSpringGreen

medTurquoise

medVioletRed

mediumAquamarine

mediumBlue

mediumOrchid

mediumPurple

mediumSeaGreen

mediumSlateBlue

mediumSpringGreen

mediumTurquoise

mediumVioletRed

midnightBlue

mintCream

mistyRose

moccasin

navajoWhite

navy

oldLace

olive

oliveDrab

orange

orangeRed

orchid

paleGoldenrod

paleGreen

paleTurquoise

paleVioletRed

papayaWhip

peachPuff

peru

pink

plum

powderBlue

purple

red

rosyBrown

royalBlue

saddleBrown

salmon

sandyBrown

seaGreen

seaShell

sienna

silver

skyBlue

slateBlue

slateGray

slateGrey

snow

springGreen

steelBlue

tan

teal

thistle

tomato

turquoise

violet

wheat

white

whiteSmoke

yellow

yellowGreen

コメント

タイトルとURLをコピーしました