So I want to prompt the user to supply a color of his choosing for my plugin. I checked the APIs and posts on the topic and there are two possibilities I came up with:
- I place an input textfield on my panel to get the RGB hexcode of the color (kinda bleh imo),
- Get one of the colors in the assets panel, since I can directly access it.
Problem with the second option is how do I know which color asset the user wants? Is there a selected_color_asset or similar attribute somewhere?
What would you suggest, from a usability standpoint, when querying a particular color from the user?