This is great! What else can it do?
This is already a really useful tool, but I feel like there's a lot I don't know about. Are there any demos?
I made a codesandbox to get it going with react hooks for any newbies like myself. I don't know if it's worth putting something like this on your ReadMe, as it would have saved someone like me a bit of time. There's a whole lot of methods with the distinctColors() object, but I don't understand a lot of it. It'd be great to see more of it in action.
I did some more playing, having discovered that chroma reference in the ReadMe: https://codesandbox.io/s/distinct-colors-and-chartjs-react-3y7vw?file=/src/Chroma.js
This demonstrates everything I've learned so far.
@jimmythecode This looks really useful for people wanting to see what this can do. Thank you! I think a link in the readme makes sense.