🎨 色盲友好科研配色(Okabe–Ito / Paul Tol / viridis)Colour-blind-safe Scientific Palettes (Okabe–Ito, Paul Tol, viridis)
为论文图表挑选色盲读者也能区分的配色:内置 Okabe–Ito、Paul Tol(bright / vibrant / muted / high-contrast)、viridis、cividis、magma 等方案,并能检查你自己的颜色;同时模拟红色盲、绿色盲、蓝色盲和灰度打印下的效果,计算任意两色的最小 CIEDE2000 色差并标出难以区分的颜色对,一键导出 Matplotlib、ggplot2、LaTeX、CSS、MATLAB 代码。Choose figure colours that colour-blind readers can tell apart: Okabe–Ito, Paul Tol (bright, vibrant, muted, high-contrast), viridis, cividis and magma built in, or check your own colours. See them under protanopia, deuteranopia, tritanopia and grayscale printing, get the minimum CIEDE2000 difference with hard-to-tell pairs flagged, and export Matplotlib, ggplot2, LaTeX, CSS or MATLAB code.
色盲模拟使用 Machado、Oliveira 与 Fernandes(2009)的生理模型(严重程度 1.0,在线性 RGB 空间计算),覆盖红色盲、绿色盲、蓝色盲;“最小色差”为任意两色在 CIELAB 中的 ΔE₀₀(CIEDE2000),低于 10 时两色在该视觉下较难区分。Okabe–Ito 和 Paul Tol 方案专为色觉缺陷读者设计,Nature 等期刊推荐使用。Colour-vision simulation uses the Machado, Oliveira & Fernandes (2009) model (severity 1.0, in linear RGB) for protanopia, deuteranopia and tritanopia. “Min. difference” is the smallest CIEDE2000 ΔE₀₀ between any two colours; below about 10 they are hard to tell apart under that vision type. Okabe–Ito and Paul Tol palettes are designed for colour-blind readers and recommended by journals such as Nature.
使用说明与常见问题How-to & FAQ
「色盲友好科研配色(Okabe–Ito / Paul Tol / viridis)」是什么?What is the Colour-blind-safe Scientific Palettes (Okabe–Ito, Paul Tol, viridis)?
为论文图表挑选色盲读者也能区分的配色:内置 Okabe–Ito、Paul Tol(bright / vibrant / muted / high-contrast)、viridis、cividis、magma 等方案,并能检查你自己的颜色;同时模拟红色盲、绿色盲、蓝色盲和灰度打印下的效果,计算任意两色的最小 CIEDE2000 色差并标出难以区分的颜色对,一键导出 Matplotlib、ggplot2、LaTeX、CSS、MATLAB 代码。Choose figure colours that colour-blind readers can tell apart: Okabe–Ito, Paul Tol (bright, vibrant, muted, high-contrast), viridis, cividis and magma built in, or check your own colours. See them under protanopia, deuteranopia, tritanopia and grayscale printing, get the minimum CIEDE2000 difference with hard-to-tell pairs flagged, and export Matplotlib, ggplot2, LaTeX, CSS or MATLAB code.
如何使用「色盲友好科研配色(Okabe–Ito / Paul Tol / viridis)」?How do I use the Colour-blind-safe Scientific Palettes (Okabe–Ito, Paul Tol, viridis)?
从下拉框选择配色方案,或在输入框粘贴你图中用的颜色(如 matplotlib 默认的 #1f77b4, #ff7f0e…)。每一行是一种视觉条件,下方显示最小色差和问题颜色对,以及折线图预览;选择导出格式后复制代码。Choose a palette, or paste the colours your figure uses (e.g. matplotlib’s #1f77b4, #ff7f0e…). Each row is a vision type; below are the minimum differences, problem pairs and a line-chart preview. Pick an export format and copy the code.
为什么要用色盲友好配色?Why use colour-blind-safe colours?
约 8% 的男性和 0.5% 的女性有红绿色觉缺陷,最常见的红-绿配色对他们几乎无法区分。Nature 等期刊在作者指南中建议避免红绿搭配,使用色盲友好配色。About 8% of men and 0.5% of women have red–green colour-vision deficiency, so the common red–green pairing is nearly invisible to them. Journals such as Nature advise avoiding it and using colour-blind-safe palettes.
和图片色盲模拟器有什么区别?How does it differ from the image colour-blindness simulator?
图片模拟器用于查看整张图片在色盲视角下的样子;本工具针对配色本身,给出可量化的色差、问题颜色对,并能直接导出绘图代码。The image simulator previews a whole picture; this tool works on the palette itself, with measurable colour differences, problem pairs and ready-to-use plotting code.
「色盲友好科研配色(Okabe–Ito / Paul Tol / viridis)」免费吗?文件会上传吗?Is the Colour-blind-safe Scientific Palettes (Okabe–Ito, Paul Tol, viridis) free? Are my files uploaded?
「色盲友好科研配色(Okabe–Ito / Paul Tol / viridis)」完全免费,无需注册。你输入的内容只在本机浏览器里处理(并保存在本机方便下次继续),不会上传到任何服务器,适合处理未发表的论文和数据。The Colour-blind-safe Scientific Palettes (Okabe–Ito, Paul Tol, viridis) is free with no sign-up. Everything you enter is processed in this browser only (and kept locally so you can continue later); nothing is uploaded, so it is safe for unpublished papers and data.