Mara Pereira does a bit of conditional formatting:
In my example, I created a report where you could switch the measure the charts were showing, and with that, the color of the charts and KPI cards changed to.
The first thing you need to do is create your base measures.
Click through for a step-by-step walkthrough with plenty of GIFs to provide a visual explanation.