conditionally render series color in a chart

I would like to conditionally render the series color on a donut/pie chart. When one series get below 10% it turns yellow, and red if 0 or less