**Describe the bug** If you have more than 10 challenge categories, the pie chart runs out of colors. **To Reproduce** Steps to reproduce the behavior: 1. Create 11 categories 2. Go to Admin/Statistics 3. Check Challenges/Category 4. See error **Expected behavior** Every category should have a color **Screenshots** 
Activity
NicholasG04 commentedon Feb 7, 2022
https://github.com/ractf/ui-kit/blob/572429458c336d03273e4e20cc154389f873cf7f/components/charts/common.js
Not sure of ideal way to fix this, the colours are hardcoded right now.
AtomicMaya commentedon Feb 8, 2022
This could maybe be done by looping on the color array and applying a brightness or darkness color lerp?
eg: [0, ..., 9, darken(0), ...]