Nodes/ComfyUI-CSV-Loader/Load Colors CSV
ComfyUI Node

Load Colors CSV

A palette dropdown for people who want their scenes to behave

By Philip-Combs·Created 3 years ago·Updated about a year ago· 20
Load Colors CSV
    • positive prompt
    • negative prompt
    colors

    Load Colors CSV is the pack's palette node. It reads colors.csv - about a hundred entries, from Red and Blue through the full crayon box - and gives you a dropdown that spits the color name back out as a prompt tag. Pick Crimson, wire the positive output into your CLIPTextEncode, and your scene gets a color directive without you typing the word again. In a workflow where you're iterating on a background, wardrobe, or whole mood, that's the difference between editing a file and editing a prompt string mid-generation.

    Set the expectation before you install: these are plain color names, not hex values and not a real palette system. There's no "load this exact RGB scheme" happening - the node outputs Crimson, and the model decides what crimson looks like today. On booru-style SDXL checkpoints, color tags work well as steering; on the newer LLM-encoded models they read as ordinary words, so the control gets fuzzier. If you need pixel-exact palettes, this isn't the tool - that's the job of color-matching and palette-transfer nodes, not a CSV dropdown.

    How it works

    The standard pack engine. On load it opens custom_nodes/ComfyUI-CSV-Loader/CSV/colors.csv, skips the header, and parses each line into name, positive prompt, negative prompt. Every shipped color row is just the color name plus a trailing comma. The dropdown lists the names, the negative output is empty, and there's nothing clever in between - which is exactly why it works.

    The genuinely useful pattern here is combining it with the pack's other nodes: a Lighting dropdown for mood, a Colors dropdown for palette, a Settings dropdown for world, all feeding one prompt. You get a small "recipe card" workflow where swapping any dropdown reruns the scene with different vibes, and your prompt stays readable because each ingredient is a named preset.

    The inputs and outputs that matter

    • colors - the dropdown. One entry per color in colors.csv.
    • positive prompt (STRING) - the color tag; into your positive CLIPTextEncode.
    • negative prompt (STRING) - empty in the shipped file.

    Output is plain STRING, so like the rest of the pack it needs a CLIPTextEncode before it reaches the sampler - no node here wires directly into KSampler.

    Installing and caveats

    Same zero-dependency install as the whole pack: unzip into ComfyUI/custom_nodes/, install via ComfyUI Manager (search "ComfyUI-CSV-Loader"), or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/PCMonsterx/ComfyUI-CSV-Loader
    

    Restart, then find all ten nodes under "CSV Loaders". The folder name has to stay ComfyUI-CSV-Loader because the loader path is hardcoded - rename it and you get the "Error loading colors.csv, check the console" dropdown, the pack's universal failure signature.

    Two practical notes. Editing the CSV requires a Refresh in ComfyUI for the dropdown to rebuild, and one malformed row (a missing column, an unclosed quote) fails the whole file, not just that line - keep every row to three columns. And since the pack is unmaintained (the README points to Dr.Lata nodes and forks), treat colors.csv as yours to curate: delete the colors you never use, keep the working set, and this stays a solid little control for years.

    CategoryCSV Loaders

    Inputs (1)

    NameTypeDefaultDescription
    colorsCOMBO1 options: Error loading colors.csv, check the console

    Outputs (2)

    NameTypeDescription
    positive promptSTRING
    negative promptSTRING