Pie chart assigns the color based on the 12 group colors. You can set the group colors within the syntax…