# Dual Donut Chart different Colors

**URL:** https://community.plotly.com/t/dual-donut-chart-different-colors/56024
**Category:** plotly.js
**Created:** [August 29, 2021, 9:19pm UTC](https://community.plotly.com/t/dual-donut-chart-different-colors/56024 "2021-08-29T21:19:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bot1q](https://avatars.discourse-cdn.com/v4/letter/b/dbc845/32.png) [@bot1q](https://community.plotly.com/u/bot1q)
#### Post date: [August 29, 2021, 9:19pm UTC](https://community.plotly.com/t/dual-donut-chart-different-colors/56024/1 "2021-08-29T21:19:42Z")

</div>

Hello Guys,

i currently create a double pie chart … unfortanatly i have no idea how to give the inner circle different colors…

![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/c/d/cdc20d19ae108111a153474dedb02cdae471024e.png)

right now i just use marker colors, but this is only works on the first trace. I want to have something like this, can someone help?

![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/9/d/9d3e05b102779f0869a32973c119f84d1428847d.png)

---

<div class="post-metadata">

### Author: ![phappy](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@phappy](https://community.plotly.com/u/phappy)
#### Post date: [August 30, 2021, 9:35am UTC](https://community.plotly.com/t/dual-donut-chart-different-colors/56024/2 "2021-08-30T09:35:36Z")

</div>

Hi @bot1q

you can easily color the individual segments by adding markers to each trace. See this post for more information:

> [@Make double donut plots (or donut plot with subgroups)](https://community.plotly.com/t/make-double-donut-plots-or-donut-plot-with-subgroups/13755/3):
>
> Hi @yxuil, There’s not a built-in way to do this, but you could build it out of two pie charts. Here’s a starting for you: import plotly.graph\_objs as go labels = ['Oxygen','Hydrogen','Carbon\_Dioxide','Nitrogen'] outer\_values = [4500,2500,500] inner\_values = [500, 1000, 2000, 1000, 500, 1000, 1000, 200, 300] common\_props = dict(labels=labels, values=values,) trace1 = go.Pie( hole=0.5, sort=False, direction='clockwise', d…
