How do I change the color of each bar in Recharts?

I have a bar graph on one of my React pages. It gets data from props that are passed on from another page. I have a bar graph showing three different pieces of data. One shows, “Correct”, the other shows, “Incorrect”, and the last shows, “Total”. I would like to have the color of each bar be different. I’ve tried using the Cell feature but couldn’t get it to work. I also tried changing the name of each piece of data but no luck. Unfortunately, there’s not a lot of documentation out there for Recharts. Anybody have any ideas?