Allow plugins to use color picker

As a Roblox developer, it is currently too hard to create a plugin that allows a user to pick a Color3 or BrickColor.

My request is to create some API to allow developers to utilize the built-in Color3 and BrickColor pickers. Such a feature would allow developers to easily add features into plugins that allow users to select colors to be used.

For instance, calling plugin:PromptColor3() would return either a Color3 value if picked, or nil if cancelled. Calling the method would open up the built-in color picker:

colorpicker

There could also be plugin:PromptBrickColor() because why not. I’m sure this feature could also be expanded to such things such as the built-in windows for NumberSequences and stuff.

150 Likes

It would also be particularly useful to have some ability to have real time updates to which color the user has selected. Perhaps that could be accomplished by exposing a ColorPicker object with .Changed and .Closed events.

24 Likes

Glad that this seems to have gotten a lot of support. I agree with @TheNickmaster21’s point entirely too.

7 Likes

I was just about to post my own version of this. I realize this is an old post, but I’d rather bump an old post and bring it back than create a separate one.

4 Likes

It may be old but I’m glad you bumped it. I still really want access to native pickers like this for plugins!

5 Likes

I really wish this was a thing already. Having something like this would greatly improve my plugin development workflow. Another benefit from this would be that it could empower my plugins’ users with the ability to sample colors from their screens.

9 Likes

Plugin widgets would greatly benefit from adding this feature. There’s so many uses for a colour picker API

3 Likes

I’m currently making a plugin that has options for colorizing parts, and segments. A function to get the color picker or brickcolor would be more efficient in my workflow.

My current workaround is having users input Color3 values into a TextBox, works, yet would be easier for a developer to pick through the color picker than input numbers IMO.

3 Likes

This needs to be a feature! While other open-source options do exist, they will never be as seamless or accessible as the native picker. Developers already know how to use the Studio color picker, and alternatives introduce friction, especially if multiple plugins don’t agree on the same color picker.

10 Likes

This needs a bump. I am in full agreement with being about to prompt the color picker.

As a plugin developer, it is difficult to make a color picker for my plugin which has as much customizability and ease of use as this.

Currently, I have a multiple-choice color picker limiting customization. I would have used a textbox that prompts the user to add an RGB value, but this isn’t great UX and can be confusing on what the user is to enter if they do not know RGB values.

I beg of this feature or some sort of color picker as versatile as this.

3 Likes