ComfyUI Node
SVG Color Manipulation
A ComfyUI node in 💎TOSVG/StringEdit with 10 inputs and 1 output.
SVG Color Manipulation
- STRING
◄svg_string—►
â—„operationreplace_colorâ–º
â—„target_color#000000â–º
â—„replacement_color#FF0000â–º
â—„brightness_factor1.2â–º
â—„saturation_factor1.2â–º
â—„hue_shift_degrees180â–º
â—„affect_fillstrueâ–º
â—„affect_strokestrueâ–º
â—„color_tolerance0â–º
Category💎TOSVG/StringEdit
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| svg_string | STRING | — | |
| operation | COMBO | replace_color | 6 options: replace_color, adjust_brightness, adjust_saturation, grayscale, invert_colors, shift_hue |
| target_color | STRING | #000000 | — |
| replacement_coloropt | STRING | #FF0000 | — |
| brightness_factoropt | FLOAT | 1.20.1–5 | — |
| saturation_factoropt | FLOAT | 1.20–5 | — |
| hue_shift_degreesopt | INT | 1800–360 | — |
| affect_fillsopt | BOOLEAN | true | — |
| affect_strokesopt | BOOLEAN | true | — |
| color_toleranceopt | INT | 00–255 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |