Flexible Color Picker
A simple, flexible and easy to use Color Picker prefab for the standard Unity UI, Allowing users to conveniently select different colors via interactive sliders.
by Ward Dehairs
★★★★★ star rating
Price History +
The Flexible Color Picker includes different sliders and UI elements that can be turned on or off as desired, including:
○ A preview of the selected color, with and without alpha
○ RGB Sliders
○ HSV Sliders
○ Alpha Slider
○ Hexadecimal input field
○ 2D HSV Slider
○ Options to change what is shown on the 2D Slider
Each slider will automatically update its displayed colors to show the user exactly which ones they can select with each slider.
The color picker asset is entirely flexible and compatible with Unity's UI features, including:
○ Turning off unneeded elements
○ Changing sizes, rearranging and moving elements individually
○ Switch between horizontal and vertical orientation for sliders
○ Compatible with transform scale and rotation, including automatic canvas scaling
○ NEW! Static mode avoids using custom shaders to ensure the FCP is compatible with any platform in any situation. Improves performance too
○ NEW! Support for multiple FCP instances
○ NEW! Support for world space and overlay canvas render modes
○ NEW! Builtin tools for saving/loading
The main script exposes a simple color value that you can integrate into your scripting as desired.