ComfyUI Node
Color to formatted string
A ComfyUI node in pixel_art/output with 6 inputs and 1 output.
Color to formatted string
- color
- formatted_color
◄format_typehex►
◄alpha_value1.00►
◄alpha_int255►
◄css_var_namecolor►
◄gimp_index-1►
Categorypixel_art/output
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| color | PIXEL_COLOR | — | |
| format_type | COMBO | hex | 9 options: hex, hex_alpha, rgb, rgba, tuple, tuple_alpha, +3 |
| alpha_valueopt | FLOAT | 1.000–1 | Valeur alpha pour les formats supportés |
| alpha_intopt | INT | 2550–255 | Valeur alpha entière (0-255) |
| css_var_nameopt | STRING | color | Nom de la variable CSS (sans --) |
| gimp_indexopt | INT | -1-1–999 | Index pour format GIMP (-1 = auto) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| formatted_color | STRING | — |