Color Desaturate Sepia (MD)
A strength slider and an sRGB toggle
- image
- mask
- image
Sepia gets a bad rap because it's usually applied as a blunt "turn it brown" filter. mdColorDesaturateSepia does the GIMP thing instead: it desaturates the image and tones it, and crucially it gives you a strength slider so you can dial in anything from a barely-there warm cast to full vintage brown.
How it works
The mechanism is a GIMP-style sepia desaturation: the image is converted to grayscale and then toned toward the sepia color, with the strength value interpolating between the original image (0.0) and full sepia (1.0). Because it's a blend rather than an overlay, at low strengths it reads as "warmth" instead of "sepia filter" - which is honestly the better way to use it. A sepia at 0.15-0.3 is a subtle, film-adjacent grade; sepia at 1.0 is unmistakably a vintage tint.
There's also an sRGB toggle (default on). This is the color-science knob: it controls whether the conversion runs in sRGB (gamma-encoded) space or in linear light. Leave it on for consistency with how ComfyUI images are encoded; flip it off if you're feeding something that's already linear (like an EXR out of a color-managed pipeline). The difference is subtle on most AI output and visible on gradients.
The controls
- strength - 0.0 to 1.0, the only slider that matters. Start at 0.2 and see if you still want more.
- sRGB - on by default; see above.
- image in, image out, optional mask for per-region application.
- Alpha is preserved, and the whole batch gets processed in VRAM-aware chunks like the rest of this pack.
When to reach for it
The "old photo" look is the obvious use, but the more common one in ComfyUI workflows is tonal unification. If you've composited elements with slightly different white balances, a whisper of sepia across the whole frame (low strength) pulls everything toward one warm family and hides the seams - the same philosophy as color matching from our post-processing notes. For genuinely aged photos, pair it with a low-contrast pass and some grain, and the result stops looking like an Instagram filter. If you want a different single-tone wash entirely - blue, green, red - the colorize node in this same pack is the same idea with a hue dial instead of a fixed sepia.
Installing
Standard MdColorMod setup:
cd ComfyUI/custom_nodes
git clone https://github.com/MdONeilsl/ComfyUI-MdColorMod
or search "MdColorMod" in ComfyUI Manager, then restart. No dependencies - empty requirements.txt, pure torch, no model files - and GPL-3.0. The pack is new and barely has a footprint online, so if Manager can't find it, clone manually.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image tensor. | |
| strength | FLOAT | 0.000–1 | Sepia strength (0 = original, 1 = full sepia). |
| sRGB | BOOLEAN | true | Use sRGB color space for conversion. |
| maskopt | MASK | Optional mask to restrict the adjustment area. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The sepia-toned image. |