🎨 Colorblind Vision Simulator

Simulate, Enhance, and Verify Colorblind Accessibility of Scientific Figures

DOI: 10.5281/zenodo.19764782

by Stephen T. Abedon Ph.D. (abedon.1@osu.edu)

phage.org | phage-therapy.org | biologyaspoetry.org | abedon.phage.org | google scholar

Version 2026.04.25

Jump to:   🎨 Simulator  |  ♿ Accessibility  |  📖 Background  |  🧮 More Calculators

What is the Colorblind Vision Simulator? This tool has two complementary functions. The Simulator tab lets you preview how any figure image appears to individuals with the most common forms of color vision deficiency, including red-green (deuteranopia, protanopia) and blue-yellow (tritanopia) colorblindness. The Accessibility tab goes further: it shifts problem colors (reds, greens) toward a colorblind-safe palette, with a slider controlling the degree of shift, and lets you verify the result by previewing how the corrected image looks to colorblind viewers before downloading. Everything runs in your browser; no files are sent to any server.

To cite this tool: Abedon, S.T. (2026). Colorblind Vision Simulator. colors.phage.org DOI: 10.5281/zenodo.19764782

✉️ Contact: colors@phage.org

🎨 Colorblind Vision Simulator

Prevalence: Deuteranopia ~5% males Protanopia ~1% males Tritanopia <0.01% Achromatopsia very rare All simulations show complete (dichromatic) forms.
🖼️

Drop an image file here

or click to browse  ·  PNG, JPG, GIF, WebP, BMP

Original image
Upload an image to begin
Simulated view
Simulated image will appear here
How to use: Drop or select any figure image. Choose a colorblindness type, then click ▶ Simulate. The simulated image appears alongside the original. Click ⬇ Download to save the simulated view as a PNG. To correct the figure colors, use the ♿ Accessibility tab — the image you load here is automatically shared with that tab.

♿ Accessibility: Color-Safe Enhancement

This tab shifts red and green hues in your figure toward colorblind-safe alternatives (vermillion/orange for reds; blue-green/teal for greens), while leaving all other colors, luminance, and detail unchanged. Use the slider to control the degree of shift, optionally preview how the corrected image looks to colorblind viewers, then download.

🖼️

Drop an image file here

or click to browse  ·  PNG, JPG, GIF, WebP, BMP  ·  or load one in the 🎨 Simulator tab first

Original (0%) Max (100%)
50%
Original image
Upload an image to begin
Color-shifted image
Click ▶ Apply to preview
How the color shift works: Each pixel is analyzed in HSL color space. Reds (hues ~330°–30°) are rotated toward vermillion/orange (~18°); greens (hues ~75°–165°) are rotated toward blue-green/teal (~165°). All other hues (blues, purples, yellows, neutrals) are left untouched. Lightness and saturation are preserved, so all luminance contrast in your figure is maintained. The slider blends between original (0%) and fully shifted (100%); 50% is the default.

Recommended workflow: Start at 50% → click ▶ Apply → check the CVD preview box to verify distinguishability → adjust slider if needed → download. Output is always the same pixel dimensions as the input.

📖 Background: Color Vision Deficiency and Scientific Figures

What is color vision deficiency?

Color vision deficiency (CVD) results from absent or non-functional cone photoreceptors in the retina. The human eye has three cone types sensitive to long (L, "red"), medium (M, "green"), and short (S, "blue") wavelengths. Deficiencies arise when one or more cone classes is absent (dichromacy) or shifted in sensitivity (anomalous trichromacy).

The most prevalent forms involve L and M cones and are X-linked, affecting approximately 8% of males of Northern European descent but only ~0.5% of females. In a typical scientific audience, roughly 1 in 12 male attendees or readers may have difficulty distinguishing certain color combinations — most critically, red from green.

Types simulated by this tool

  • Deuteranopia — absent M (green) cones; the most common form (~5% of males). Red and green are confused; both tend to appear as shades of yellow-brown or olive.
  • Protanopia — absent L (red) cones (~1% of males). Red appears very dark; green and red are confused with characteristic darkening of long wavelengths.
  • Tritanopia — absent S (blue) cones (very rare, ~0.003%). Blue and yellow are confused.
  • Deuteranomaly — shifted M cones (partial green weakness; ~5% of males). Milder than deuteranopia.
  • Protanomaly — shifted L cones (partial red weakness; ~1% of males). Milder than protanopia.
  • Achromatopsia — complete absence of functional cones (very rare). Vision is entirely grayscale.

Why does this matter for scientific figures?

The red-green color pair is one of the most frequently used in science — stop/go, inhibit/activate, control/treatment, low/high — yet it is precisely the pair most invisible to the most common forms of colorblindness. Journals increasingly require or recommend colorblind-accessible figures. Institutions receiving federal funding in the United States also have accessibility obligations under Section 508 and the ADA that extend to instructional and research materials, making colorblind-accessible figures a matter of both inclusion and compliance.

How the Accessibility tab color shift works

Each pixel is converted to HSL (hue, saturation, lightness) color space and targeted hue rotation is applied to the two most problematic ranges:

  • Reds (hues ~330°–30°) are rotated toward vermillion/orange (~18°) — distinguishable from green by both normal and dichromatic viewers.
  • Greens (hues ~75°–165°) are rotated toward blue-green/teal (~165°) — distinguishable from orange/vermillion even for red-green dichromats.

All other hues and all luminance values are preserved. The strength slider blends original (0%) and fully shifted (100%) values, allowing the minimum intervention necessary. Output is always the same pixel dimensions as the input image.

Recommended colorblind-safe palette

The single most effective strategy is to never rely on color alone as the only differentiating element. Combine color with shape, line style, pattern, or direct labels. Then choose a colorblind-safe palette.

The Wong (2011) eight-color palette:

#0072B2 Blue
#E69F00 Orange (replaces red)
#009E73 Bluish-green
#D55E00 Vermillion
#CC79A7 Reddish-purple
#F0E442 Yellow
#56B4E9 Sky blue
#000000 Black

For two-color stop/go situations, blue + orange is the most reliable replacement for red + green.

Additional tips

  • Use filled vs. open symbols in addition to color for data series.
  • Use solid vs. dashed lines to differentiate curves.
  • Add direct labels to lines rather than relying on color-coded legends.
  • Avoid rainbow/jet colormaps; use perceptually uniform colormaps such as viridis, cividis, or inferno.
  • Check figures in grayscale — if elements are indistinguishable in grayscale, they may also be indistinguishable to colorblind viewers.
  • For heatmaps, use blue-white-orange diverging palettes rather than green-red.

How the simulation works

The Simulator tab uses linear RGB transformation matrices derived from the Vienot, Brettel, and Mollon (1999) dichromacy simulation model. Pipeline per pixel: (1) convert sRGB to linear light (remove gamma); (2) apply 3x3 matrix redistributing the missing cone contribution to remaining cones; (3) re-apply gamma correction. Anomalous trichromacy (deuteranomaly, protanomaly) is simulated by blending 60% of the dichromatic result with 40% of the original. All processing is local — no image data is transmitted to any server.

References

  1. Vienot, F., Brettel, H., and Mollon, J.D. (1999). Digital video colourmaps for checking the legibility of displays by dichromats. Color Research & Application 24:243–252. 10.1002/(SICI)1520-6378
  2. Brettel, H., Vienot, F., and Mollon, J.D. (1997). Computerized simulation of color appearance for dichromats. Journal of the Optical Society of America A 14:2647–2655. 10.1364/JOSAA.14.002647
  3. Wong, B. (2011). Color blindness. Nature Methods 8:441. 10.1038/nmeth.1618
  4. Crameri, F., Shephard, G.E., and Heron, P.J. (2020). The misuse of colour in science communication. Nature Communications 11:5444. 10.1038/s41467-020-19160-7
  5. Machado, G.M., Oliveira, M.M., and Fernandes, L.A.F. (2009). A physiologically-based model for simulation of color vision deficiency. IEEE Transactions on Visualization and Computer Graphics 15:1291–1298. 10.1109/TVCG.2009.113

🧮 Phage Biology and Phage Therapy Calculators

A suite of free, browser-based phage biology (🔬) and phage therapy (💊) calculators by Stephen T. Abedon. All open in a new tab.

💊 Active Phage Therapy
Models phage therapy including in situ phage replication.
active.phage-therapy.org
🔬 Adsorption Rate Constant
Determine the phage adsorption rate constant k for your phage-host combination.
adsorption.phage.org
🔬 Bacterial Doubling Time
Convert between doubling time and Malthusian parameter; fit growth curves; graph bacterial growth data.
doublingtime.phage.org
🔬💊 Bacterial Half-Life
Time for half a bacterial population to become phage adsorbed.
t05bacteria.phage.org
🔬 Biofilm Calculator
Calculate bacterial density within biofilms, phage half-life, transit times, and MOI.
biofilm.phage.org
🎨 Colorblind Vision Simulator
Preview how figures appear to colorblind viewers, and shift colors toward a colorblind-safe palette. Upload, simulate, enhance, and download.
colors.phage.org ←
💊 Cross-Resistance Avoider
Design phage cocktails that minimize the likelihood of cross-resistance.
x-resist-x.phage-therapy.org
🔬 Dilution Calculator
Plan serial dilutions to reach a target titer or plate count; back-calculate titers from plate count data.
dilution.phage.org
💊 Inundative Phage Density
Minimum phage titer to reduce bacteria by a specified amount in a given time.
inundative.phage-therapy.org
🔬 Multiplicity of Infection (MOI)
Calculate MOIinput and MOIactual for phage-bacteria mixtures using Poisson statistics.
moi.phage.org
🔬 One-Step Growth
Calculate phage burst size and latent period from one-step growth experiment data.
onestep.phage.org
💊 Phage Adsorptions
Total adsorptions, MOIactual, and adsorptions per bacterium per unit time.
adsorptions.phage-therapy.org
💊 Phage Cocktail Optimizer
Optimize phage cocktail composition to maximize coverage across target bacterial strains.
cocktail.phage-therapy.org
🔬 Phage Half-Life
Time for half a phage population to adsorb bacteria.
t05phage.phage.org
💊🔬 Phage Killing Titer
Determine phage concentrations from bacterial survival data using Poisson distributions.
killingtiter.phage-therapy.org
🔬 Phage Name Check
Check whether a proposed phage name has already been used.
namecheck.phage.org
🔬💊 Phage OD Deviation
Detect phage-induced lysis from optical density curves.
deviation.phage.org
🔬 Phage-Bacterial Chemostat
Simulate bacterial and phage population dynamics in continuous culture.
chemostat.phage.org
💊 Phage-Mediated D-Value
Time to achieve a given log reduction in bacteria at a constant phage titer.
dvalue.phage-therapy.org
🔬 Poisson Frequencies
Full Poisson distribution of phage adsorptions per bacterium at a given MOI.
poisson.phage.org
🔬 Titering and EOP
Calculate phage titers from plate counts; compute EOP; run descriptive and Poisson statistics.
titering.phage.org
See also
📖 Bacteriophage Glossary
Abedon, S.T. Online glossary of bacteriophage and phage therapy terminology.
preprints.org