Add color selector slot

hi plz help me add some color selector slots instead of 3
my problem is when i add slots in html code this error appearing
TypeError: Cannot read properties of undefined (reading '0')
i think needs some edit in index.js and json.cpp
thanks for your help

This would be a nice addition for everyone. I hope you get it to work, or it gets implemented. I was just looking at how to do this, but I have no clue on how programming/coding works for this.

Why? None of the effects use anything beyond 3 colors.

Because of some new custom effects i want to add