Adapt the color of the menu to the graphic chart