Color Pallet with 3d Points

Hello, I’m new here, so please forgive me if I’m repeating something that could be found elsewhere.

I have made a color picker in Desmos, and I was working on making a pallet for it. I made a list of polygons for each color, but I have been unable to figure out how to turn the tuples (or 3d points?) into colors, no matter what I do.

You’re missing your radian to degree conversion in a_ddToPallet:

Thank you so much! That helps a lot!

You can simplify it by directly adding the selected color:

Possible downside is that it is saved as rgb().