Change Donut Colour


I am using the bubble Chart Element plug and need to change the colour of the Donut or Pie segments. I am pulling work type grouped by count into both the donut and a repeating group. Each type has its own colour in the database.

The shape colour in the repeating group is decided by the Type’s colour in the database.

Is there an easy to change the donut colours to match the label’s colour? I am rusty on HTML and Javascript so nothing to complicated!!