Skip to content

Repository files navigation

🎨 Sepia Be Gone

Status License Version Language Stars Issues



A portable prompt skill to banish the yellow/orange/sepia filter from AI-generated images.
Works with opencode, Claude Code, Codex, Cursor, Windsurf, VS Code Copilot, and any image generator.


"AI doesn't have to look like it was developed in a 1970s darkroom."


πŸ€” The Problem: Why AI Images Look Yellow

AI image models don't just "learn from old paintings." The yellow/orange cast comes from token bias in training data:

🎯 Prompt Keyword πŸ“Š Statistical Association 🎨 Result
cinematic Orange/teal grading (Hollywood LUTs) Heavy amber cast
golden hour Warm sunset lighting Extreme yellow/orange
premium, luxury Warm "golden" commercial photography Cream whites, brown blacks
appetizing (food) Golden food photography overlays Greens→brown, whites→cream
studio lighting Often tungsten (3200K) not daylight Warm color temperature
dramatic lighting Chiaroscuro with warm key lights Orange shadows

RLHF amplifies this: Human raters consistently prefer warmer images for "appeal," so models learn warmth = quality.


✨ What This Skill Does

βœ… Preserves 🎯 Applies 🚫 Removes
Layout & composition Neutral 5600K daylight balance Yellow tint
Products & packaging Clean whites (RGB 255,255,255) Orange cast
Logos & labels Deep neutral blacks (RGB 0,0,0) Warm filter
Prices & addresses Accurate product/brand colors Sepia tone
ALL visible text Natural contrast, crisp lighting Amber / golden hour
Design structure & spacing Modern commercial look Vintage grading

πŸ–Ό Before β†’ After Examples β€” See It In Action

Real results from the skill β€” no cherry-picking, just the prompt applied to yellow-tinted images.


1️⃣ πŸ›’ Supermarket Promo Poster

Problem: Yellow/orange cast β€” cream whites, amber shadows, inaccurate brand blues

Before (Yellow Tint) After (Neutral)
Before: Yellow tinted poster After: Neutral poster

Preserved: Price ($3.99), address (123 Main St), product placement, logo, layout
Fixed: 5600K daylight balance, clean whites, neutral grays, accurate brand blues
Prompt used: Full prompt from prompts/neutral_color_balance.md


2️⃣ πŸ” Food Photography

Problem: Golden "appetizing" overlay β€” brownish greens, yellow whites, artificial warmth

Before (Warm Filter) After (Color-Accurate)
Before: Warm food photo After: Neutral food photo

Preserved: Food appeal, composition, plating
Fixed: Fresh greens, clean whites, natural meat tones, no golden overlay
Prompt used: Food variant from prompts/neutral_color_balance.md


3️⃣ 🎬 Cinematic / Fantasy Art

Problem: Heavy orange/teal grading β€” orange skin tones, teal shadows, sepia haze

Before (Orange/Teal) After (Neutral Fantasy)
Before: Orange/teal cinematic After: Neutral cinematic

Preserved: Composition, characters, mood, detail
Fixed: Natural skin, neutral shadows, readable text, no orange cast
Prompt used: Cinematic variant from prompts/neutral_color_balance.md


πŸš€ Quickstart

πŸ“¦ Installation by Tool

πŸ™ opencode

git clone https://github.com/BrunosGits/sepia-be-gone.git ~/.config/opencode/skill/sepia-be-gone
# Use: /sepia-be-gone

πŸ€– Claude Code

git clone https://github.com/BrunosGits/sepia-be-gone.git ~/.claude/skills/sepia-be-gone
# Use: /sepia-be-gone

⚑ Codex / Generic Agents

git clone https://github.com/BrunosGits/sepia-be-gone.git .github/skills/sepia-be-gone
# Use: /sepia-be-gone

🎯 Cursor

# Copy CURSOR.md to:
~/.cursor/rules/sepia-be-gone.mdc
# Or project: .cursor/rules/
# Use: @sepia-be-gone in chat

🌊 Windsurf

# Copy WINDSURF.md to:
~/.codeium/windsurf/skills/sepia-be-gone/
# Use: /sepia-be-gone in Cascade

πŸ’» VS Code Copilot

# Add VSCODE.md content to:
.github/copilot-instructions.md
# Use: "Use sepia-be-gone skill" in chat

🎨 Any Image Generator

Works with DALL-E 3, Midjourney, GPT-4o, Gemini, Firefly, Stable Diffusion, Flux, etc.

cat prompts/neutral_color_balance.md | pbcopy
# Paste at end of your prompt

πŸ“‹ The Prompt (Copy-Paste Ready)

πŸ“„ Full Prompt

β†’ prompts/neutral_color_balance.md

⚑ Short Add-on (append to any prompt)

Color grading: neutral daylight-balanced white balance, accurate colors, clean whites, neutral blacks, no yellow tint, no sepia, no orange cast, no warm filter, no vintage grading, no golden-hour lighting.

🚫 Negative Prompt (if supported)

yellow tint, orange cast, warm filter, sepia, amber lighting, vintage color grading, old painting, golden hour, aged paper, brown overlay, muddy colors, oversaturated orange, excessive warmth, cream whites, brown blacks

Midjourney: Add --no yellow tint, orange cast, warm filter, sepia, amber lighting, vintage color grading, old painting, golden hour, aged paper, brown overlay, muddy colors, oversaturated orange, excessive warmth, cream whites, brown blacks
Stable Diffusion: Paste into negative prompt box

🎯 When to Use

Click to expand trigger phrases
  • "Remove the yellow tint" / "Remove yellow filter"
  • "Make this less warm" / "Too warm" / "Fix warm colors"
  • "Neutralize colors" / "Neutral color balance"
  • "Clean whites" / "Whites look cream" / "Whites are yellow"
  • "Remove orange cast" / "Too orange"
  • "Remove sepia" / "Looks vintage" / "Old photo look"
  • "Fix AI yellow filter" / "AI yellow tint"
  • "5600K" / "Daylight balanced" / "Neutral lighting"

⚠️ Limitations & Workarounds

Limitation Severity Workaround
Generative editors distort text πŸ”΄ High For posters with exact prices/addresses: generate background only β†’ add text in Figma/Canva/Photoshop
Deliberate warm/vintage style 🟑 Medium Don't use β€” this skill forces neutral
Extreme orange casts (sunset) 🟑 Medium May need 2-pass editing
Local color casts only 🟒 Low Use generative inpainting for specific regions

πŸ“ Repository Structure

sepia-be-gone/
β”œβ”€β”€ πŸ“„ README.md                          # This file (with inline examples)
β”œβ”€β”€ βš™οΈ  SKILL.md                           # opencode skill (primary)
β”œβ”€β”€ πŸ€– AGENTS.md                          # Codex/opencode adapter
β”œβ”€β”€ πŸ€– CLAUDE.md                          # Claude Code adapter
β”œβ”€β”€ 🎯 CURSOR.md                          # Cursor IDE rule (.mdc)
β”œβ”€β”€ 🌊 WINDSURF.md                        # Windsurf Cascade skill
β”œβ”€β”€ πŸ’» VSCODE.md                          # VS Code Copilot instructions
β”œβ”€β”€ βš–οΈ  LICENSE                            # MIT
β”œβ”€β”€ πŸ“ prompts/
β”‚   └── 🎨 neutral_color_balance.md       # The reusable prompt
└── πŸ“ examples/
    └── πŸ“ images/
        β”œβ”€β”€ πŸ“ before/                     # Your yellow-tinted inputs
        β”‚   β”œβ”€β”€ poster-yellow.jpg
        β”‚   β”œβ”€β”€ food-warm.jpg
        β”‚   └── cinematic-orange.jpg
        └── πŸ“ after/                      # Your corrected outputs
            β”œβ”€β”€ poster-neutral.jpg
            β”œβ”€β”€ food-neutral.jpg
            └── cinematic-neutral.jpg

πŸ›  How It Works

🎭 Generative Prompt Strategy

The prompt uses three mechanisms:

  1. Explicit preservation directives β€” "Preserve: layout, text, logos, prices, addresses"
  2. Positive color specification β€” "5600K daylight-balanced", "clean whites", "neutral blacks"
  3. Negative constraint list β€” 15+ forbidden terms (yellow tint, sepia, golden hour, vintage, etc.)

This exploits how diffusion models attend to both positive and negative token guidance.

🎯 Target Color Temperature

Lighting Type Kelvin Use Case
Tungsten (warm) 3200K ❌ Avoid
Golden Hour 3500-4500K ❌ Avoid
Daylight Neutral 5500-5600K βœ… Target
Overcast Daylight 6500K βœ… Acceptable
Cool Studio 7000K+ ⚠️ May overcorrect

🀝 Contributing

Found a better prompt variant? Discovered a new tool integration?
PRs welcome! Please read the skill files before modifying.


πŸ“œ License

MIT License β€” Free for personal and commercial use.
See LICENSE for full text.


🌟 Star this repo if it saved your images from the yellow filter!

Made with β˜• by BrunosGits

About

A portable prompt skill to remove yellow/orange/sepia AI color casts from generated images. Works with opencode, Claude Code, Codex, Cursor, Windsurf, VS Code Copilot, and any image generator.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages