Duotone Generator
Map the whole brightness range of your photo between any two colors — the exact two-tone poster and album-cover look designers charge for, free 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
Duotone is the print-industry trick behind bold album covers and posters: forget every original color, keep only how light or dark each pixel is, then repaint the whole image along a single gradient between two inks. This tool does exactly that on your own device, through the HTML5 Canvas API — your photo is never uploaded, stored or seen by anyone.
How the three controls map to the image:
Dark tone
The color your shadows become. Default deep coffee brown (#2B2620) reads warm and vintage; pick near-black charcoal for a modern poster look.
Light tone
The color your highlights become. Default warm cream (#E8D9B8); try soft white, pale mint or faded pink for a trendy two-tone graphic look.
Midpoint curve
Where the gradient bends. Higher values push more of the image toward the dark ink (moody, high-contrast); lower values lift everything toward the light ink (airy, soft).
Luminance preserved
The effect follows your photo's real brightness, so faces, clouds and silhouettes keep their shape and drama — only the colors change.
Instant live preview
Move a color picker and the canvas updates in real time. Experiment with brand colors, film stocks, or your team palette.
Fully local & private
No upload, no account, no watermark. Design as many versions as you like — even offline.
An honest note: a duotone is a flat color grade — it throws away the original three-color information on purpose for a graphic look. It is not "restoring" a photo; it is a creative stylization, and it cannot recover color or detail that your source image does not already contain. Start from a clean, contrasty image for the strongest result.
双色调是印刷行业里撑起大胆唱片封面与海报的经典手法:忘掉原本的颜色,只保留每个像素的明暗,再沿着两种油墨之间的渐变重新上色。本工具在你的设备上通过 HTML5 Canvas API 完成这一切——照片永远不会被上传、存储或被人看到。
三个控件如何映射到画面:
深色
暗部变成的颜色。默认深咖啡棕(#2B2620)温暖复古;想做现代海报感就选近黑的炭灰。
浅色
亮部变成的颜色。默认暖奶油色(#E8D9B8);试试柔白、浅薄荷或褪粉,得到流行的双色图形感。
中间点曲线
渐变在哪里弯折。值越高越多画面被压向深色油墨(沉郁、高对比);值越低整体抬向浅色油墨(轻盈、柔和)。
保留真实亮度
效果跟随照片真实的明暗,所以人脸、云朵与剪影的形状与戏剧感都在——变的只是颜色。
实时预览
动一下取色器,画布立即更新。尽情尝试品牌色、胶片色或团队配色。
完全本地、隐私安全
不上传、不注册、无水印。想做多少版就做多少版,断网也能用。
诚实说明:双色调是一种平面化的配色——它故意丢弃原始三色信息,换取图形化观感。它不是在「修复」照片,而是创意风格化,也无法恢复源图中本来就没有的颜色或细节。想要最强效果,请用干净、对比充足的图作底。
How to Use
- Upload a photo with good contrastDuotones read best on images with clear light and dark separation — portraits, silhouettes, architecture. Drag the photo into the drop zone or click to browse.
- Pick your two colorsChoose a dark tone for shadows and a light tone for highlights. The default coffee-brown + cream already looks like a vintage print; for modern branding, try navy + soft white or deep green + sand.
- Shape the gradient with the Midpoint sliderPull it up for a moody dark look, down for a bright airy one. Judge it with the before/after slider.
- Download your duotoneExport PNG for design work, JPG for social posts, or WebP for fast web pages.
- 上传一张对比充足的照片明暗分明的图最适合双色调——人像、剪影、建筑。拖入或点击选择。
- 挑选两种颜色深色给暗部,浅色给亮部。默认咖啡棕 + 奶油色已经很像复古相纸;想做现代品牌感,可以试试藏青 + 柔白,或墨绿 + 沙色。
- 用「中间点」塑造渐变拉高是沉郁暗调,拉低是明亮轻盈。边调边看前后对比。
- 下载双色调作品设计用 PNG,社交发帖用 JPG,网页追求速度用 WebP。
Who this is for — and what it will not do
A design tool for mapping the tonal range onto exactly two inks. It is for posters, zines, print covers and slides where a limited palette is a deliberate decision — not for restoring accurate colour.
- Poster and cover design. Two-ink layouts that must stay on brand across print and screen.
- Editorial illustration. Photography treated as graphics rather than documents.
- Consistent zine spreads. A single duotone pairing makes unrelated images feel like one series.
Mistakes that ruin the result, and the fix for each
- Choosing two pale inks. Both colours land near the middle of the tonal range, so shadows never get dark and the image looks washed out. Keep one ink deep.
- Expecting natural skin. A duotone replaces every hue. Faces will read as ink, not skin — decide whether that is the point before you print.
- Toning a damaged scan. Marks become graphic shapes at this level of simplification. Clean, then map the tone.
这个工具适合谁——以及它做不到什么
把影调范围精确映射到两种「油墨」的设计工具。用于海报、独立杂志、印刷封面与幻灯片这类「限制色板是有意选择」的场合——不是用来还原真实色彩。
- 海报与封面设计。需要在印刷与屏幕上保持品牌一致的「双色」版式。
- 编辑类插图。把照片当作图形,而不是文献。
- 一致的独立杂志跨页。同一组双色搭配能让互不相关的图片看起来像一个系列。
毁掉效果的常见错误,以及各自的解法
- 两种油墨都选得太浅。两色都落在影调中段,暗部永远压不下去,画面显得发灰。至少保留一种深色。
- 期待自然的肤色。双色调会替换掉所有色相,人脸看起来是「油墨」而不是皮肤——打印前先想清楚这是不是你想要的。
- 拿受损扫描件直接上色。在这种高度简化下,瑕疵会变成图形。先清理,再映射影调。
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.
The engine does three things per pixel and nothing else: it computes one luminance value (0.299R + 0.587G + 0.114B), divides it by 255, raises that to a power set by the Midpoint slider, and uses the result as the blend factor between your dark hex and your light hex. So Midpoint is not a brightness control — it is the exponent in k = L^m. That is the reason its behaviour feels unintuitive at both ends of the range, and it is why the numbers below are worth writing down.
| What you see | Start here | Why it works | If it is still wrong |
|---|---|---|---|
| A duotone that looks muddy brown-grey with no punch | Midpoint 70 · dark #101820 · light #E8D9B8 | With m = 0.70 a 50% grey resolves to 0.5^0.70 ≈ 0.62 of the way to the light ink, so mid-tones fall deeper into the dark ink and the shadows gain room to separate. | Still muddy: Midpoint 80, then move the dark tone to #0A0F18. |
| Faces, eyes and hair disappear into the shadows | Midpoint 30 · dark #2B2620 · light #E8D9B8 | m = 0.30 lifts the same 50% grey to 0.5^0.30 ≈ 0.81, so most of the frame sits near the light ink and only the genuine shadows stay dark — skin keeps its modelling. | Too airy: 40. Highlights wash out: light tone #E3D3AE instead of near-white. |
| A blue sky collapses into the dark ink and stops reading as sky | Midpoint 50 · dark #1B2A41 · light #E9EEF2 | Sky luminance runs roughly 0.6 to 0.8, which at m = 0.5 lands between 0.77 and 0.89 — mostly light ink. Making the dark ink navy instead of brown keeps the sky reading as sky rather than as shadow. | Sky still flat: Midpoint 55 and light #F4F8FF, which restores the last 5% of separation. |
| Two saturated picks (magenta and teal) look garish and lose all shape | Midpoint 60 · dark #22303A · light #D9D2C5 | Luminance-only mapping cannot tell a red apple from a green leaf of the same brightness, so shape has to come from the inks' lightness. #22303A averages about 47 and #D9D2C5 about 208 — a 161-level gap that survives the flattening. | Still flat: widen the gap to #16202A / #F0E9DA. If that fails, the source lacks contrast. |
Two extremes deserve a warning. Midpoint 0 sets the exponent to zero, and any number raised to the power zero is 1 — including a pure black pixel, where 0^0 evaluates to 1 in JavaScript. The whole frame then becomes one flat wash of the light ink and every trace of the photograph is gone; there is no undo button, so reset and start again. Midpoint 100 gives k = L, a straight linear ramp, which is the setting that preserves the most original contrast. The default of 50 applies a square-root curve, which noticeably lifts mid-tones, so the default already looks brighter than a one-to-one mapping.
The two colour pickers are read as plain 8-bit hex with no colour management and no ICC profile, and both accept three-digit shorthand. Because blending is linear in RGB, a dark ink that is not truly dark — say #4A4238 — will compress the whole tonal range into the top half of the ramp and produce the flatness the FAQ calls out. Keep the two inks at least 120 levels apart in average brightness before blaming the Midpoint slider.
Switch pages when the problem is different. If you want to keep the photo's original colours and only tint them warm, that is Sepia & Vintage Tone. If you need a neutral monochrome rather than a graphic, Black & White Converter gives you channel control instead of ink control. If the source is faded, scratched or noisy, repair it first in AI Photo Restorer, because a duotone flattens artifacts along with everything else. And if the source is flat but not damaged, the Faded Photo Fixer can rebuild contrast before you map the inks.
What it cannot do: it discards hue permanently and cannot restore colour, texture or detail the file never had. Two different objects at the same luminance become the same tone, which is why busy scenes often read better in black and white than in duotone. There is no grain, texture or paper simulation, and no dithering — large flat areas of the light ink can band, especially in JPG, so export PNG for print work. Preview is capped at 2000 px on the long edge, and the HD export re-runs the identical luminance and exponent at full resolution, where the steeper part of the curve becomes more visible.
Sources & further reading
引擎对每个像素只做三件事:先算出一个亮度值(0.299R + 0.587G + 0.114B),除以 255,再把它升到由「中间点」滑杆设定的幂次,最后用这个结果作为深色 hex 与浅色 hex 之间的混合系数。所以中间点不是亮度旋钮——它是 k = L^m 里的指数。这解释了它为什么在量程两端都显得反直觉,也说明下面这些数字值得记下来。
| 看到什么 | 从这里开始 | 为什么有效 | 还是不对怎么办 |
|---|---|---|---|
| 双色调呈现浑浊的棕灰、毫无冲击力 | 中间点 70 · 深色 #101820 · 浅色 #E8D9B8 | m = 0.70 时,50% 灰会被解到 0.5^0.70 ≈ 0.62,也就是只走到浅色油墨的 62%,中间调因此更深地沉向深色油墨,暗部才有分开的余地。 | 仍然发闷:中间点 80,再把深色换成 #0A0F18。 |
| 人脸、眼睛与头发全部陷进暗部 | 中间点 30 · 深色 #2B2620 · 浅色 #E8D9B8 | m = 0.30 把同一处 50% 灰抬到 0.5^0.30 ≈ 0.81,画面大部分贴近浅色油墨,只有真正的阴影留暗——肤色因此保住了立体感。 | 太飘:40。高光洗白:浅色改用 #E3D3AE,而不是接近纯白。 |
| 蓝天整片塌进深色油墨,读不出「天空」 | 中间点 50 · 深色 #1B2A41 · 浅色 #E9EEF2 | 天空亮度大致在 0.6 到 0.8,m = 0.5 时落在 0.77 到 0.89 之间,大部分是浅色油墨。把深色从棕换成藏青,天空就仍然读作天空,而不是阴影。 | 天空还是平:中间点 55,浅色改 #F4F8FF,补回最后一点分离度。 |
| 选了两个饱和色(品红配青绿),花哨且丢失造型 | 中间点 60 · 深色 #22303A · 浅色 #D9D2C5 | 纯亮度映射分不出同样亮度的红苹果和绿叶,造型只能靠两种油墨的明度差保留。#22303A 平均约 47,#D9D2C5 平均约 208,相差 161 级,扁平化之后依然有效。 | 仍然发平:把差距拉大到 #16202A / #F0E9DA。还不行,说明源图本身缺对比。 |
量程两端各有一个坑。中间点 0 等于把指数设成零,而任何数的零次幂都是 1——在 JavaScript 里连纯黑的 0^0 也等于 1。整张画面于是变成一片纯粹的浅色油墨,照片的痕迹全部消失;这里没有撤销按钮,只能重置重来。中间点 100 对应 k = L,是一条直线斜坡,是保住原有对比最多的设置。默认 50 实际上套的是平方根曲线,会明显抬高中间调,所以默认值看上去本来就比一对一的映射更亮。
两个取色器按普通 8 位 hex 读取,没有色彩管理、没有 ICC 配置,也接受三位简写。因为混合是在 RGB 里线性进行的,深色只要不够深——比如 #4A4238——整条明暗范围就会被挤进斜坡的上半段,产生常见问答里说的那种发平。怪「中间点」之前,先确认两种油墨的平均明度至少相差 120 级。
问题不同就换页面。想保留照片原色、只罩一层暖调,那是 棕褐与复古色调 的活。要的是中性单色而不是图形化双色,黑白转换 给的是通道控制而不是油墨控制。源图本身褪色、有划痕或有噪点,先去 AI 照片修复 修好,因为双色调会把瑕疵一并压平。源图只是发平、并未损坏,可以先让 褪色修复 重建对比,再来映射油墨。
它做不到的:它会永久丢弃色相,无法恢复文件里从未有过的颜色、纹理或细节。同一亮度上的两个不同物体必然变成同一色调,所以元素杂乱的场景往往在黑白里比在双色调里更好读。它没有颗粒、没有纸纹模拟、也没有抖动处理——浅色油墨的大片平涂容易出现色阶,JPG 尤其明显,印刷请导出 PNG。预览最长边限制在 2000 像素,HD 导出会在完整分辨率上重跑同样的亮度与指数,曲线较陡的那一段会更明显。
参考来源与延伸阅读
FAQ
What is the difference between duotone and sepia?
Why does my photo look flat after duotone?
What do professional designers pick as duotone colors?
Can I use my brand colors?
Is my photo uploaded to a server?
Is it really free and unlimited?
双色调和棕褐色调有什么区别?
为什么双色调之后照片看起来发平?
专业设计师一般怎么选双色调颜色?
可以用我的品牌色吗?
我的照片会被上传到服务器吗?
真的免费且不限次数吗?
Related Tools
Black & White Converter
Start from a great monochrome luminance map before duo-toning.
双色调之前,先打好黑白亮度底子。
Sepia & Vintage Tone
A one-click warm brown tone with adjustable intensity.
一键暖棕色调,强度可调。
Color Temperature
Shift whole-photo warmth and green-magenta tint.
整体调节冷暖与绿品偏色。
Color Pop
Keep one focal subject in color on a black-and-white base.
黑白底上保留一处焦点彩色。
Old Movie Effect
Add grain, sepia and vignette for a retro film poster feel.
叠加颗粒、褐色与暗角,做复古电影海报感。
Faded Photo Fixer
Restore contrast first — duotones reward a punchy source.
先恢复对比——对比强的源图双色调更好看。
Related Guides
The Art of Sepia: Making Photos Look Truly Vintage
How classic warm-toned prints work, before you stylize.
风格化之前,先理解经典暖调相纸。
How to Convert Old Photos to Black and White Properly
Luminance is what duotone remaps — learn it well.
双色调重映射的正是亮度——先学透它。
Creative Vintage Effects: Movie, Vignette & Frames
Layer duotone with grain, frames and vignettes.
把双色调与颗粒、边框、暗角叠在一起。
Old Landscape Photos: Bringing Scenery Back to Life
Duotone mountain and sky shots for striking posters.
用双色调处理山峦与天空,做出震撼海报。