Nodes/Enviral Design Node Pack/Enviral Color Match Method
ComfyUI Node

Enviral Color Match Method

String-drive the legacy ColorMatch method dropdown

By EnviralDesign·Created 4 months ago·Updated 21 days ago· 1
Enviral Color Match Method
    • method
    methodmkl

    Color match nodes - the ones that transfer a reference image's palette onto your output - have a method dropdown that picks the transfer algorithm: mkl, hm, reinhard, mvgd, and the hybrid hm-mvgd-hm / hm-mkl-hm chains. Useful, but it's another native dropdown you can't feed a string into. If you want the method to change based on something earlier in the workflow, you're stuck editing by hand.

    Enviral Color Match Method is the adapter for the legacy ColorMatch node family: dropdown or linked string in, the exact native method combo out.

    How it works

    It's one of the pack's typed-name selectors, so the mechanism is the shared one: the output is a native combo matching exactly what the legacy ColorMatch nodes accept. The six methods are the CPU ones from the color-matcher library: mkl, hm, reinhard, mvgd, plus the two-step hm-mvgd-hm and hm-mkl-hm recipes. String inputs are matched exactly first, then case-insensitively, with close-match suggestions on validation failure.

    What this node doesn't have is reinhard_lab_gpu - that's a V2-only method (see Enviral Color Match V2 Method). If your workflow uses the newer V2 color match nodes, grab that selector instead. This one exists specifically for the legacy method field.

    Input and output

    • method - dropdown or linked string; defaults to mkl.
    • Output method - native combo for the legacy ColorMatch method socket.

    Two sockets, nothing else.

    Install

    Part of the Enviral Design Node Pack: ComfyUI Manager (search "Enviral Design Node Pack") or

    cd ComfyUI/custom_nodes
    git clone https://github.com/EnviralDesign/comfyUI-enviral-design-node-pack
    

    then restart. No extra dependencies for the selector itself.

    When it's worth installing

    Same pattern as every Enviral selector: it earns its place in graphs where the color-matching method should be a variable, not a fixed choice - say, a workflow that A/Bs mkl vs reinhard on the same reference to see which palette transfer holds up, driven from a Custom Combo string. If you hardcode one method, you don't need it. If you script your graph, it's the missing joint between "string world" and "dropdown world."

    CategoryEnviralDesign/selectors

    Inputs (1)

    NameTypeDefaultDescription
    methodCOMBOmklColor match method. Accepts a linked string, then outputs the exact native combo type for downstream nodes.

    Outputs (1)

    NameTypeDescription
    methodmkl,hm,reinhard,mvgd,hm-mvgd-hm,hm-mkl-hmNative-compatible ColorMatch method combo.