distinct-colors icon indicating copy to clipboard operation
distinct-colors copied to clipboard

This is great! What else can it do?

Open jimmythecode opened this issue 5 years ago • 2 comments

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.

jimmythecode avatar Apr 16 '21 07:04 jimmythecode

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 avatar Apr 16 '21 15:04 jimmythecode

@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.

internalfx avatar Apr 18 '21 17:04 internalfx