ComfyUI Node
Primitive Color CMYK (MD)
Converts CMYK color values to an integer color code and a hexadecimal string representation.
Primitive Color CMYK (MD)
- int
- HEX
◄Cyan0.0►
◄Magenta0.0►
◄Yellow0.0►
◄Key0.0►
Categorymd/color
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| Cyan | FLOAT | 0.00–100 | Cyan percentage (0-100%). |
| Magenta | FLOAT | 0.00–100 | Magenta percentage (0-100%). |
| Yellow | FLOAT | 0.00–100 | Yellow percentage (0-100%). |
| Key | FLOAT | 0.00–100 | Key (black) percentage (0-100%). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| int | INT | Packed 24-bit integer color value (0-16777215). |
| HEX | STRING | Hexadecimal color string (e.g., #FF0000). |