ComfyUI Node
Primitive Color RGB (MD)
Converts RGB values to an integer color code and a hexadecimal string representation.
Primitive Color RGB (MD)
- int
- HEX
◄Red0►
◄Green0►
◄Blue0►
Categorymd/color
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| Red | FLOAT | 00–255 | Red component value (0-255). |
| Green | FLOAT | 00–255 | Green component value (0-255). |
| Blue | FLOAT | 00–255 | Blue component value (0-255). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| int | INT | Packed 24-bit integer color value (0-16777215). |
| HEX | STRING | Hexadecimal color string (e.g., #FF0000). |