Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Display a color wheel in the HSB color space and select a color
| ResourceFunction["ColorWheelSelector"][] displays a color wheel in the HSB color space and selects a color. | |
| ResourceFunction["ColorWheelSelector"][Dynamic[color]] takes the setting to be the dynamically updated current color of the HSB color space. | 
| ImageSize | 150 | the size of the display | 
Display the color wheel and select a color using the mouse:
| In[1]:= | ![ResourceFunction["ColorWheelSelector"][]](https://www.wolframcloud.com/obj/resourcesystem/images/8d4/8d4f0f00-fa6f-4312-ae7c-94abeda50b84/74186ba25fa5dde4.png) | 
| Out[4]= |  | 
Click the "Print" button to print the selected color:

Select a color to set values of hue, saturation and brightness not using the mouse:

The selected color can dynamically update a variable and the background color updates if the variable changes value:
| In[5]:= | ![col = Hue[0, 1, 1];
Row[{Graphics[{Circle[]}, Background -> Dynamic[col], ImageSize -> 270], ResourceFunction["ColorWheelSelector"][Dynamic[col], ImageSize -> Tiny]}]](https://www.wolframcloud.com/obj/resourcesystem/images/8d4/8d4f0f00-fa6f-4312-ae7c-94abeda50b84/7f220d611711b8fb.png) | 
| Out[6]= |  | 
Use predefined symbolic sizes:
| In[7]:= | ![ResourceFunction["ColorWheelSelector"][ImageSize -> Tiny]](https://www.wolframcloud.com/obj/resourcesystem/images/8d4/8d4f0f00-fa6f-4312-ae7c-94abeda50b84/20dabca7f19662e2.png) | 
| Out[8]= |  | 
This work is licensed under a Creative Commons Attribution 4.0 International License