Color Temperature
Warm up a cold winter photo, cool down an indoor yellow cast, or push back that green fluorescent tint — two sliders, instant preview, entirely in your browser.
给寒冷的照片升温,压掉室内的黄色偏色,再把荧光灯那种发绿的色调拉回来——两个滑杆,实时预览,全程在浏览器里完成。
Private by design — your photo is processed locally and never uploaded.Drop a photo here, or click to browse
Supported formats: JPG, PNG, WebP, GIF, BMP
Drag to compare
Tip: upload the largest scan you have — bigger input gives better results.
How It Works
Every photograph is taken under some kind of light: candlelight is warm orange, overcast shade is cool blue, fluorescent tubes are greenish. Your camera usually compensates — but old scans, phone snapshots and film digitizations often come out with a visible cast. This tool multiplies your red, green and blue channels on the spot to warm, cool or de-green the image, entirely on your own device with the HTML5 Canvas API. Your photo is never uploaded, stored or seen by anyone.
What the two sliders do:
Temperature
Positive values raise red and lower blue — the photo goes warm and amber, like candlelight or a sunset. Negative values raise blue — the photo cools down, like open shade or a blue winter morning.
Tint
Negative values push the image toward green, positive toward magenta. Fluorescent-lit interiors often need a small negative-then-positive correction to remove that sickly green cast.
Manual, not magic
You are in charge of the look. There is no hidden "correct" value — judge by eye: skin should look natural, whites should look white.
Neutralize one click
"Neutralize Cast" returns both sliders to 0, so you can compare your graded version against the unmodified original at any time.
Creative as well as corrective
Warm up an already-nice family photo for a golden-hour feeling, or push cool on a snowy landscape for a crisp winter mood.
Fully local & private
No upload, no account, no watermark. Adjust as many photos as you like — even offline.
An honest note: this is a manual color-cast dial, not an automatic white balance. It cannot measure what "true white" should be — if you want the tool to guess the neutral point for you, use the Faded Photo Fixer, which runs a gray-world auto-balance first. Over-sliding past the point where whites look right will create a new cast of its own.
每张照片都在某种光线下拍摄:烛光暖橙、阴天阴影冷蓝、荧光灯偏绿。相机通常会做补偿——但老扫描件、手机随手拍和胶片数码化的结果,常常带着明显偏色。本工具实时乘算你的红、绿、蓝通道,把画面调暖、调冷或去绿,全程在你的设备上通过 HTML5 Canvas API 完成。照片永远不会被上传、存储或被人看到。
两个滑杆的作用:
色温
正值提高红色、压低蓝色——画面变暖变琥珀,像烛光或夕阳;负值提高蓝色——画面变冷,像露天阴影或冬日清晨。
色调
负值把画面推向绿,正值推向品红。荧光灯室内拍的照片常需要先往正方向微调,去掉那种发闷的绿。
手动而非魔法
观感由你掌控。没有隐藏的「正确值」——用眼睛判断:肤色自然、白色不再发色就对了。
一键还原中性
「还原中性」把两个滑杆归 0,方便你随时把调色后的版本与原图对比。
既能校正也能创作
给本来不错的家庭照片加一点暖调做出黄金时刻感,或把雪景拉冷做出清冽的冬日氛围。
完全本地、隐私安全
不上传、不注册、无水印。想调多少张就调多少张,断网也能用。
诚实说明:这是一个手动偏色旋钮,不是自动白平衡。它不会替你判断「真正的白」该是什么——想让工具自动猜中性点,请用「褪色修复」,它会先跑一遍灰度世界自动平衡。滑过了头,白色不白了,就等于制造了新的偏色。
How to Use
- Upload the photo with the castDrag it into the drop zone or click to browse. JPG, PNG, WebP, GIF and BMP are supported.
- Look at something that should be whiteFind a wall, a shirt or the sky in your photo. As you move the Temperature slider, watch that reference point until the white looks right.
- Correct the green-magenta tintIf the corrected image still looks slightly green or pink, nudge the Tint slider the opposite way until skin and foliage look natural.
- Go creative if you likeOnce the base is neutral, push Temperature a little positive for warmth or negative for a cool, crisp mood.
- Download your resultExport PNG for archiving, JPG for sharing, WebP for the web.
- 上传偏色的照片拖入或点击选择。支持 JPG、PNG、WebP、GIF、BMP。
- 找一个本该是白色的地方画面里的白墙、白衣或天空。边动「色温」滑杆边看它,直到白色看起来正常。
- 校正绿品偏色如果校完还略发绿或略粉,把「色调」滑杆往反方向微调,直到皮肤与植物看着自然。
- 想创作就再推一点底色中性之后,把色温往正推一点得暖意,往负推得清冷干爽的氛围。
- 下载结果存档用 PNG,分享用 JPG,网页用 WebP。
Who this is for — and what it will not do
For a global warm/cool correction: tungsten-lit interiors that came out orange, shade or overcast scenes that came out blue, or a set of photos that must match each other. It moves the whole image along the blue–orange axis.
- Indoor scans under household bulbs. The classic orange cast that makes skin look sunburnt.
- Blue shade and snow scenes. Overcast light that turns white paper and grey walls blue.
- Matching a series. Two photos of the same room shot at different times, brought onto one white point.
Mistakes that ruin the result, and the fix for each
- Fixing everything with temperature. A green cast is a tint problem, not a warm/cool problem. If white paper turns green, temperature alone will never fix it.
- Pushing until channels clip. Beyond a point the highlights stop being neutral and start losing detail. Check the brightest area for texture after each move.
- Correcting a photo that was already neutral. One strong lamp in the frame biases your judgement. Compare against a known-white object, not against memory.
这个工具适合谁——以及它做不到什么
用于整体冷暖校正:钨丝灯室内拍成橙黄、阴影或阴天下的场景拍成发蓝,或一组照片需要互相统一。它把整张图沿蓝—橙轴整体移动。
- 家用灯泡下的室内扫描。典型的橙黄偏色,让人脸看起来像晒伤。
- 阴影与雪景。阴天光线把白纸和灰墙染成蓝色。
- 统一一组照片。同一房间不同时间拍的两张照片,拉到同一个白点。
毁掉效果的常见错误,以及各自的解法
- 所有偏色都用色温解决。偏绿属于色调(tint)问题,不是冷暖问题。白纸发绿时,只调色温永远修不好。
- 推到通道溢出。超过某个点,高光就不再中性并开始丢失细节。每次调整后检查最亮区域是否还有纹理。
- 去修正一张本来就中性的照片。画面里一盏强灯会影响你的判断。请以已知的白色物体为参照,而不是凭记忆。
Field Notes: Settings That Actually Work
Concrete starting values taken from the tool's own parameters, plus what to change when the first result is not right.
Both sliders are plain multipliers on the RGB channels, and both are capped much lower than people expect. Temperature moves red by at most 22% and blue by the opposite amount, nothing more; tint only ever touches the green channel. That is enough to rescue a mild cast and nowhere near enough to rescue a strong one, and knowing the ceilings is what keeps you from dragging a slider to its end and concluding the tool is broken. The arithmetic below is taken from the multiply step itself, not estimated.
| What you see | Start here | Why it works | If it is still wrong |
|---|---|---|---|
| An interior shot under tungsten bulbs is orange across the whole frame | Temperature (warm ↔ cool) −70 · Tint (green ↔ magenta) 0 | At −70 red is multiplied by 1 − 0.154 = 0.846 and blue by 1 + 0.154 = 1.154 — roughly a 30% red-to-blue swing, which is the largest useful correction before the end stop. | Still orange: −85, and check that a real white area exists to judge against. Whites turn cyan: back off to −55. |
| An open-shade portrait looks blue and lifeless | Temperature (warm ↔ cool) +40 · Tint (green ↔ magenta) 0 | At +40 red is multiplied by 1.088 and blue by 0.912. Skin sits mostly in red, so lifting red and trimming blue restores warmth without touching saturation at all. | Skin turns yellow: +25. A green cast appears instead: tint will not fix it, see the row below. |
| A sickly green cast from fluorescent tubes | Temperature (warm ↔ cool) +10 · Tint (green ↔ magenta) +60 — then change tools | The tint multipliers are (1 − 0.14x) and (1 + 0.14x), and their product is 1 − 0.0196x². At +60 green drops by only 0.70%, at 100 by 1.96%, and +60 and −60 produce the identical result. Tint physically cannot remove a visible green cast. | Use the faded photo fixer, whose grey-world pass rescales each channel to a common mean, or fix the light source and reshoot. |
| An aged scan whose whites read as cream | Temperature (warm ↔ cool) −45 · Tint (green ↔ magenta) 0 | At −45 red is multiplied by 0.901 and blue by 1.099. Because the correction is a pure scale, bright cream areas move as much as mid-tones — unlike a curve, which would crush the highlights instead. | Whites still cream: −60. Contrast also gone: run the faded photo fixer, which stretches the histogram as well. |
Every correction is a linear scale, so it clips rather than compresses. At Temperature +100 red is multiplied by 1.22, which means any red value above 209 hits the ceiling and flattens; at −100 the same happens to blue. On a bright frame that shows up as a loss of detail in the brightest highlights while the shadows stay untouched — the classic sign that a linear white-balance dial is being asked for more than it can give. Pull back below ±70 when the frame has large white areas.
The tint slider is the one part of this page that behaves differently from its label. Because the green channel receives both multipliers at once, its net factor is (1 − 0.14x)(1 + 0.14x), which is always below 1 and always the same for +x and −x. So "negative pushes green, positive pushes magenta" is only true of the intermediate product, not of the final green level: both directions end up reducing green by up to about 2%. Use it to trim a barely perceptible tint, never to neutralise a real fluorescent cast.
Switch pages when the diagnosis points elsewhere. If you do not know which way to slide — a yellowed print with no obvious white reference — Faded Photo Fixer measures the image and sets the balance for you, then you can fine-tune here. If the cast comes with scratches, noise and lost contrast, AI Photo Restorer corrects white balance as the first stage of a longer pipeline. If the warmth you want is a deliberate vintage look rather than a correction, Sepia & Vintage Tone gives a controlled amber instead of an arbitrary one. And if the frame is simply too contrasty or too flat after balancing, Black & White Converter sidesteps the colour question entirely.
What it cannot do: it has no measurement step and no reference white, so "neutral" is your judgement, not a computed fact; Neutralize Cast only returns both sliders to 0. It works in plain sRGB with no ICC profile handling, so a photo tagged with a wide gamut will be converted by the browser first and may shift before you touch anything. It applies no per-channel curve, no shadow tinting and no highlight rolloff, so extreme corrections look flat rather than natural. Preview is capped at 2000 px on the long edge, and the HD export repeats the same multipliers on the full-resolution file, where clipped highlights in the preview may already be unrecoverable.
Sources & further reading
两个滑杆都只是对 RGB 通道做乘法,而且上限远比多数人以为的低。色温最多把红乘到 1.22、蓝乘到 0.78,不会更多;色调则只碰绿通道。这点幅度足以救一个轻微偏色,远远不够救一个严重偏色——知道天花板在哪,才不会把滑杆拖到底然后得出「这工具没用」的结论。下面的算式直接取自那段乘法代码,不是估算。
| 看到什么 | 从这里开始 | 为什么有效 | 还是不对怎么办 |
|---|---|---|---|
| 钨丝灯室内照,整幅画面发橙 | 色温(暖 ↔ 冷)−70 · 色调(绿 ↔ 品红)0 | −70 时红乘 1 − 0.154 = 0.846,蓝乘 1 + 0.154 = 1.154,红蓝之间大约摆动 30%——在到顶之前,这是最有用的修正量。 | 仍然橙:−85,同时确认画面里有一处真正的白可供判断。白色发青:退到 −55。 |
| 露天阴影里的人像发蓝、没生气 | 色温(暖 ↔ 冷)+40 · 色调(绿 ↔ 品红)0 | +40 时红乘 1.088、蓝乘 0.912。肤色主要落在红通道,提红压蓝就能把暖意找回来,而且完全不碰饱和度。 | 肤色转黄:+25。反而出现绿偏色:色调救不了,见下一行。 |
| 荧光灯下那种发闷的绿偏色 | 色温(暖 ↔ 冷)+10 · 色调(绿 ↔ 品红)+60——然后换工具 | 色调的两个乘子是 (1 − 0.14x) 与 (1 + 0.14x),乘积为 1 − 0.0196x²。+60 时绿只降 0.70%,100 时降 1.96%,而且 +60 与 −60 的结果完全相同。色调在物理上无法消除肉眼可见的绿偏色。 | 改用褪色修复:它的灰度世界会把每个通道缩放到共同均值;或者直接修好光源重拍。 |
| 老化扫描件,白色读起来像奶油色 | 色温(暖 ↔ 冷)−45 · 色调(绿 ↔ 品红)0 | −45 时红乘 0.901、蓝乘 1.099。因为修正是纯比例缩放,明亮的奶油区与中间调移动幅度相同——曲线做不到这一点,曲线会先把高光压掉。 | 白色仍发奶油:−60。对比也没了:用褪色修复,它还会同时拉伸直方图。 |
所有修正都是线性缩放,所以它只会切顶,不会压缩。色温 +100 时红乘 1.22,意味着任何高于 209 的红值都会被截平;−100 时同样的事发生在蓝。在明亮的画面上,这表现为最亮高光丢细节,而暗部毫发无损——这正是把一个线性白平衡旋钮要求过多的典型征兆。画面里有大片白色时,请把色温控制在 ±70 以内。
色调滑杆是这一页里唯一和标签对不上的部分。绿通道同时收到两个乘子,净系数是 (1 − 0.14x)(1 + 0.14x),永远小于 1,而且 +x 与 −x 的结果一模一样。所以「负值推绿、正值推品红」只在中间量上成立,就最终的绿电平而言:两个方向都只会把绿压低最多约 2%。它适合修掉几乎看不出的轻微色调,绝不适合中和真实的荧光灯偏色。
如果诊断指向别处,就换页面。不知道该往哪边拉——比如一张没有明确白色参照的发黄照片——交给 褪色修复,它会先测量画面并给出平衡,你再回这里微调。偏色伴随着划痕、噪点和对比丢失,AI 照片修复 会从白平衡开始跑完整条流程。想要的暖不是修正而是刻意的复古感,棕褐与复古色调 给的是受控的琥珀色,而不是随手调出来的那种。平衡之后仍嫌对比过强或过平,黑白转换 可以干脆绕开颜色问题。
它做不到的:它没有测量步骤、没有参考白,所以「中性」是你的判断而不是算出来的事实;「还原中性」只是把两个滑杆归零。它在纯 sRGB 里工作、不做 ICC 配置处理,带广色域标记的照片会先被浏览器转换,可能在你动手之前就已经偏移。它没有逐通道曲线、没有阴影着色、没有高光滚降,所以极端的修正看起来是平的,而不是自然的。预览最长边限制在 2000 像素,HD 导出会在完整分辨率文件上重复同一组乘子,而预览里已经切顶的高光,到那里同样救不回来。
参考来源与延伸阅读
FAQ
My old photo looks yellow. Which way do I slide?
Why does my indoor photo look green?
What is the difference between this and "auto white balance"?
Will this fix a heavily color-shifted film scan?
Is my photo uploaded to a server?
Is it really free and unlimited?
我的老照片发黄,该往哪个方向拉?
为什么室内拍的照片发绿?
这和「自动白平衡」有什么区别?
它能修好严重偏色的胶片扫描吗?
我的照片会被上传到服务器吗?
真的免费且不限次数吗?
Related Tools
Faded Photo Fixer
Automatic white balance, contrast and saturation for faded prints.
褪色照片的自动白平衡、对比度与饱和度修复。
Sepia & Vintage Tone
Layer a warm vintage brown tone over your corrected colors.
在校正好的颜色上再罩一层温暖复古褐。
Duotone Generator
Remap luminance between two custom colors for graphic impact.
把亮度重映射到两种自定义颜色之间,制造图形冲击力。
Black & White Converter
Drop color entirely and sculpt light with channel mixing.
完全去掉颜色,用通道混合塑造光影。
Color Pop
Keep one focal subject in vivid color against a monochrome rest.
让一处焦点主体保持鲜艳彩色,其余褪为黑白。
Old Movie Effect
Warm grade, grain and vignette for a vintage film mood.
暖调、颗粒与暗角,营造复古电影氛围。
Related Guides
Faded Photo Restoration: Color & Contrast
Why old prints yellow, and how to correct cast safely.
老照片为何发黄,以及如何安全校正偏色。
Film Scan Restoration: Dust, Grain & Color Shifts
Film scans often need temperature and tint work — here is how.
胶片扫描常需要色温与色调处理——方法都在这里。
The Art of Sepia: Making Photos Look Truly Vintage
When a warm cast is the goal rather than the problem.
当暖调不是问题、而是你想要的效果时。
How to Convert Old Photos to Black and White Properly
Sometimes the best fix for bad color is to remove it.
偏色救不回来时,最好的修复就是去掉颜色。