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

2 Likes

Added a slightly more interactive version with sliders to the thread: http://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.

+1 on having a full featured colour picker

Here is a cool little tool if you want to create your own and don't know the code.....color code

1 Like

Wanted to pop a quick update in here, this is now a native Retool component: Color Input | Retool Component Library