[Feature Request] Simple color selector.
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 153
Description
### Description
It would be convenient if it was possible to choose a color in the node for RGB and RGBA. I'll try to describe how I see it.
For `INPUT_TYPES`, 2 types should be added.
Each type should be displayed as a small rectangular area colored in the selected color located opposite the parameter name in the node.
When you click on this rectangle, a window with 3 or 4 parameters should appears.
Parameters for RGB:
```
Red: 0 - 255
Green: 0 - 255
Blue: 0 - 255
```
Parameters for RGBA:
```
Red: 0 - 255
Green: 0 - 255
Blue: 0 - 255
Alpha: 0.0 - 1.0
```
These parameters should come to the node function as a tensor (RGB: [1, 3] and RGBA: [1, 4]), red, green and blue should be divided by 255.0 (converted to 0.0 - 1.0).
### Motivation
Yes, I know that nodes in ComfyUI do not require color as a parameter, but I beg you to think about those who develop plugins for ComfyUI.
Just look at what a node with two incoming RGBA parameters turns into.

It becomes difficult to perceive and frightening, but everything will be the opposite if these 8 parameters are replaced by 2.
I hope for your understanding. Thanks for reading it.
Contributor guide
Assessment
This issue has not been assessed yet.