Nodes/svg-suite/SVG Color Manipulation
ComfyUI Node

SVG Color Manipulation

A ComfyUI node in 💎TOSVG/StringEdit with 10 inputs and 1 output.

By MushroomFleet·Created about a year ago·Updated 4 months ago· 9
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)

    NameTypeDefaultDescription
    svg_stringSTRING—
    operationCOMBOreplace_color6 options: replace_color, adjust_brightness, adjust_saturation, grayscale, invert_colors, shift_hue
    target_colorSTRING#000000—
    replacement_coloroptSTRING#FF0000—
    brightness_factoroptFLOAT1.20.1–5—
    saturation_factoroptFLOAT1.20–5—
    hue_shift_degreesoptINT1800–360—
    affect_fillsoptBOOLEANtrue—
    affect_strokesoptBOOLEANtrue—
    color_toleranceoptINT00–255—

    Outputs (1)

    NameTypeDescription
    STRINGSTRING—