How to Fix White Balance in Mixed Lighting — Magic Eraser
Fix white balance problems in photos with mixed lighting sources like tungsten plus daylight, fluorescent plus natural light, and LED color contamination. AI-powered correction for natural-looking results.
Product Marketing
Vérifié par Magic Eraser Editorial ·

Mixed lighting is the most common white balance problem in photography, and the one that traditional camera settings handle worst. When a room is lit by both a warm tungsten table lamp and cool daylight streaming through a window, the camera can only set one white balance for the entire frame. Set it for tungsten and the daylight areas turn blue. Set it for daylight and the tungsten areas turn orange. Every shot is a compromise that leaves at least part of the image with an obvious color cast.
The problem gets worse with modern lighting. LED panels, fluorescent tubes, sodium vapor street lights. Compact fluorescent bulbs each have different spectral traits that do not correspond to simple color temperature adjustments. Fluorescent lighting has a green spike that tungsten white balance cannot correct. Cheap LED panels produce magenta or green tints that shift unpredictably with dimmer settings. A single room can have three or four different light sources, each contaminating a different zone of the photograph with a different color cast.
AI white balance correction solves the fundamental limitation of traditional correction by treating different zones of the image on its own. Instead of applying one global color temperature shift, the AI identifies areas lit by different sources and applies the right correction to each zone separately. A subject lit by tungsten from the left and daylight from the right gets warm-side and cool-side corrections that meet naturally in the middle, producing the unified neutral lighting that a single white balance setting could never achieve.
- AI applies zone-specific white balance corrections to different areas of the image rather than a single global color temperature shift that leaves some zones incorrectly cast.
- Recognizes and corrects the green spike in fluorescent lighting, the magenta tint of certain LED panels. The deep orange of sodium vapor sources that simple color temperature sliders cannot address.
- Normalizes skin tones that are contaminated by different light sources on different sides of the face, producing natural and unified results.
- Preserves intentional warm or cool lighting mood while removing the unnatural color casts that mixed sources create.
- Works on photos from any camera including smartphones where manual white balance control is limited or unavailable.
Why mixed lighting defeats single-setting white balance
Color temperature is a simplification. Camera white balance assumes the entire scene is lit by a single light source with a known spectral distribution. 5500K for daylight, 3200K for tungsten, 4000K for fluorescent. When you set 5500K, the camera applies a uniform shift to the red and blue channels that makes daylight-illuminated whites appear neutral. But when half the scene is lit by 3200K tungsten and the other half by 5500K daylight, no single shift can correct both. The tungsten correction that warms the daylight side also warms the tungsten side further. The daylight correction that cools the tungsten side also cools the daylight side further.
Fluorescent and LED lighting compounds the problem because their spectral output is not a smooth blackbody curve. Tungsten and daylight produce steady spectra that differ mainly in the ratio of warm to cool wavelengths. Fluorescent tubes produce spiky spectra with strong peaks at specific wavelengths. Mainly a pronounced green spike around 546 nanometers — that no color temperature adjustment can neutralize. Correcting for the green spike requires a magenta tint shift in addition to the temperature correction. The amount varies by tube type and age.
Modern LED lighting introduces even more variability. The spectral output of an LED panel depends on the specific phosphor blend used by the manufacturer. Cheap panels often have gaps or spikes in their spectrum that produce color casts visible only in photographs. Two LED panels that appear identical white to the naked eye can produce noticeably different color casts in photos because the camera sensor responds to the full spectrum while human vision adapts and compensates. This is why event photographers dread venues that mix LED, fluorescent, and tungsten sources.
- Camera white balance assumes a single light source — when two or more sources illuminate different zones, no single setting can correct the entire frame.
- Fluorescent tubes produce spectral spikes (especially green at 546nm) that color temperature sliders cannot neutralize — they require separate tint correction.
- LED panels vary by manufacturer phosphor blend, producing color casts invisible to the eye but captured by camera sensors that do not adapt like human vision.
- Event venues mixing LED, fluorescent, and tungsten sources create the most extreme mixed-lighting challenges in practical photography.
How AI achieves zone-specific color correction
AI white balance correction works by identifying objects with known color properties throughout the image and using them as distributed calibration points. A white ceiling tile in the fluorescent-lit area, a white shirt in the tungsten-lit area. A patch of white snow visible through the window each tell the AI what color shift exists in their zone. The AI then interpolates between these calibration points to create a spatially varying correction map that applies the right adjustment to every pixel based on its position and the lighting that reaches it.
The AI also uses semantic understanding to improve its corrections. It knows that human skin has a fairly narrow range of natural colors regardless of ethnicity, that green vegetation falls within specific hue ranges. That sky should not be green or orange. These semantic anchors supplement the neutral-object detection, providing correction data even in areas where no white or gray objects exist. A portrait subject lit by tungsten on one side and window light on the other gets corrected to natural skin tones on both sides even if no neutral reference object is nearby.
Edge handling is where AI correction mainly outshines manual methods. The transition zone where two light sources overlap. The middle of a room lit by windows on one side and overhead fluorescents on the other — has a smooth gradient of mixed light. The AI creates smooth correction gradients that match this lighting transition, avoiding the visible seam that manual split-correction methods often produce. The result is a photograph that looks naturally lit even when the original lighting was deeply problematic.
- Distributed neutral-object detection creates calibration points throughout the image — white ceilings, gray fabrics, neutral walls — for zone-specific correction mapping.
- Semantic understanding of skin tones, vegetation, and sky colors provides correction anchors in areas without neutral reference objects.
- Smooth correction gradients across lighting transition zones avoid the visible seams that manual split-correction techniques typically produce.
- The AI processes the entire image simultaneously, ensuring corrections in one zone blend naturally with adjacent zones rather than creating patchwork color shifts.
Practical scenarios and their specific correction challenges
Office and conference room photography presents the most universally encountered mixed-lighting problem. Overhead fluorescent panels cast green-tinted light from above while windows along one wall provide cool daylight from the side. Display screens or monitors add blue illumination to nearby faces. A group photo in this setting will show green color casts on the tops of heads, blue tints on faces nearest the screen. Fairly neutral tones only on subjects positioned where the window light dominates. AI correction normalizes all three zones at once.
Restaurant and event photography deals with warm tungsten or candlelight ambiance mixed with cool daylight from windows and occasionally colored LED accent lighting. The challenge here is keeping the intentional warm atmosphere that the venue designed while removing the unnatural color contamination where sources overlap. AI white balance tools can distinguish between intentional warm mood lighting and unwanted color casts, applying selective correction that keeps the ambiance while cleaning up the contamination zones.
Real estate photography frequently combines bright window views with dim interior lighting, creating extreme mixed-lighting across a single wide-angle frame. The view through the window is daylight-balanced while the room interior is lit by whatever ceiling fixtures exist. Often a mix of outdated fluorescent and warm LED. AI correction balances these zones so the interior colors are accurate and the window view is not blown out to blue or orange, producing the clean, bright listing photos that sell properties.
- Office photography mixes overhead fluorescents, side window daylight, and monitor blue light — creating three distinct color zones on subjects in a single group shot.
- Restaurant photography requires preserving intentional warm ambiance while correcting unnatural color contamination where multiple sources overlap.
- Real estate wide-angle shots combine bright daylight window views with dim mixed-source interiors requiring extreme zone-specific correction.
- Event photography under venue LED and fluorescent combinations produces the most unpredictable color casts due to varying LED phosphor blends across fixtures.
Avoiding over-correction and preserving natural mood
The goal of white balance correction in mixed lighting is not to make the entire image look like it was shot under perfectly neutral studio lighting. Settings have character — the warm glow of a living room, the cool crispness of a north-facing office, the golden hour light through a west-facing window. Aggressively neutralizing all color temperature variation produces a flat, sterile image that looks artificially processed. The correction should remove the problematic color casts while keeping the natural lighting character of the scene.
Skin tones are the most critical checkpoint for correction accuracy. Human vision is very sensitive to skin color — even small deviations from natural look right away wrong. After applying AI white balance correction, examine skin tones before anything else. They should look healthy and natural without green, magenta, or excessively orange tints. If the skin looks right, the rest of the correction is usually acceptable even if some non-critical areas retain a slight warm or cool character.
When in doubt, err toward slight warmth rather than perfect neutrality. Human vision perceives warm light as natural and inviting, while cool or perfectly neutral light can feel clinical. A photograph with a barely perceptible warm cast will be universally perceived as better than one with a barely perceptible cool cast. Warm lighting is associated with comfort and cool lighting with artificial settings. This asymmetry means that slightly under-correcting warm sources produces a more pleasing result than slightly over-correcting them.
- Avoid neutralizing all color temperature variation — environments have natural lighting character that should be preserved while removing only problematic mixed-source casts.
- Skin tones are the primary accuracy checkpoint because human vision is extremely sensitive to even small deviations from natural skin color.
- Slight warmth is preferable to perfect neutrality — warm light reads as natural and inviting while neutral or cool results feel clinical and over-processed.
- Check corrections on multiple elements: skin, white objects, vegetation, and sky to ensure the balance feels natural across all color categories.
Sources
- Understanding Color Temperature and White Balance in Digital Photography — Cambridge in Colour
- Color Science for Mixed Illumination Environments — Society for Imaging Science and Technology
- CIE Standards for Illuminant Spectral Distributions — International Commission on Illumination