It is very obvious in the code where the RGB values are being assigned. When a chart is created in Excel, or whenever an existing chart is selected, two additional tabs are added to the ribbon. Things to Remember About Legends in Excel Chart Legend is the space located on the plotted area of the chart in excel. After this use the Font dialog to change the size, color and also add some text effects. Q: Could anyone help me to make the graph 2 legend colors consistent with that of the graph 1, i.e. And also have a way to start the axis value dynamically, now you have to enter a fixed value to start with. The attached has a change event fired by the selection in cell C2. the background color of cells will change according to the conditions you set. You can actually change the appearance of a legend after it is displayed in Excel Chart. Firstly, please check the original screenshot of excel chart with the automatic setting for chart legend. If you want to change the shade of the bars, you can play with these values. Right-click the layer that has the data that you want, and then click