Color picker component

It'd be neat to have some kind of component that allows the user to choose colors. In our use case, we have google sheets scripted with all kinds of conditional formatting, and we want the users to be able to choose the colors for those different conditions. More common use-cases could revolve around choosing folks' settings in this or in other apps.

As Victoria helpfully demo'd here, you can create a rudimentary color picker by coloring a component according a hex value input into a text box, but I think it'd be neat to have a fully featured color picker - either with a spectrum (not sure the proper art term for this), like so:

image

or with a palette that you could define, like so:

image

Added a slightly more interactive version with sliders to the thread: https://community.retool.com/t/create-my-own-color-preview-with-custom-component/4805/4?u=mark

1 Like

That's pretty neat! We'll use this for now.