About Auto White Balance for Photos
Indoor bulbs turn photos orange, shade turns them blue, and some screens and fluorescent tubes leave a green tint. This tool measures the cast and scales the red, green and blue channels so that what should be grey looks grey again, keeping the overall brightness.
Choose grey world for busy, colourful scenes, brightest areas for photos with a white wall, sky or highlight, or give the colour of something you know is neutral, such as paper or a grey card. Strength lets you keep some of the original warmth. Drop in one photo or a whole set; each keeps its format where your browser can write it.
How it works
- The picture is decoded and its values converted to linear light, the scale in which light actually adds up, so the correction does not shift the midtones.
- Grey world takes the average colour of the whole picture as the reference; brightest areas takes the average of the brightest 1% of pixels, leaving out any with a channel already at full value; neutral colour uses the colour you give.
- Each channel is then multiplied so the reference comes out neutral with the same luminance. Multipliers are kept between 0.25 and 4, so a picture with almost none of one colour is not blown out.
- Strength blends between no change and the full correction. Transparency is kept.
Questions
Which method should I choose?
Grey world works well when a scene has a good mix of colours. It can be fooled by a picture dominated by one colour, such as a beach or a forest, which it will try to make grey. Brightest areas works when something white or light grey is in the picture. If you know a neutral object, give its colour for the most precise result.
How do I get the colour of a neutral object?
Use the colour field’s picker; in browsers that offer an eyedropper you can pick it straight from the photo on screen. Otherwise read the colour with any picker and type it as #rrggbb.
Why does a very dark reference colour get refused?
If a channel of the colour you give is almost black, its value says nearly nothing about the light, and the multiplier would swing wildly. Choose a lighter grey or white part of the photo instead.
Is there a size limit?
Each file can be up to 200 MB and up to 40 megapixels, or less on browsers whose canvas is smaller, such as Safari on iPhone at about 16.7 megapixels. Larger pictures are refused with a message before any work starts. Only the first frame of an animation is used.
Are my photos uploaded?
No. Each photo is decoded, corrected and saved by your browser, in a background worker on your own device. Nothing is sent anywhere.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.