18 lines
463 B
Markdown
18 lines
463 B
Markdown
# ComfyUI ColorCode Bridge
|
|
|
|
Tiny type adapter for workflows where one node outputs a hex color string and another node requires a `COLORCODE` input.
|
|
|
|
## Node
|
|
|
|
- `utils/color > String To ColorCode`
|
|
|
|
## Usage
|
|
|
|
Connect an automatic hex-color string output such as `#00FF00` into `color_hex`, then connect `color_code` into the downstream `COLORCODE` input.
|
|
|
|
This node validates and normalizes:
|
|
|
|
- `00FF00` -> `#00FF00`
|
|
- `#0F0` -> `#00FF00`
|
|
- `#00ff00` -> `#00FF00`
|