Black Lives Matter. Please consider donating to Black Girls Code today.

Pie chart label colors

Is there a way to set colors to the text inside each sector?
I am able to customize the sector colors using data marker colors. So I want to set contrasting colors for the text.

Using plotly in React.

This should do the trick.

Can I set a different font color per sector using this?