๐Ÿ”ฌ๐ŸŽ“ Colorblind Vision Simulator

Simulate, Enhance, and Verify Colorblind Accessibility โ€” and Prepare Figures for Publication

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

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

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

What is the Colorblind Vision Simulator? This tool has three complementary functions. The Simulator tab previews 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 shifts problem colors (reds and greens) toward a colorblind-safe palette, with a slider controlling the degree of shift, with built-in colorblind preview before downloading. The Image Tools tab handles figure preparation for publication: format conversion to TIFF (with correct DPI metadata), PNG, JPEG, or WebP; custom DPI setting; resize (by pixels, percentage, or print size); crop; rotate; flip; grayscale conversion; and brightness, contrast, and gamma adjustment. An image loaded in any tab is automatically shared with all other tabs. 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

colors.phage.org  ·  Abedon’s Books  ·  DOI: 10.5281/zenodo.19764782

How can I improve this page?  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

📷 Image Tools

Format conversion, DPI setting, resize, rotate, flip, crop, and tone adjustments — all in one pass. The image loaded in the 🎨 Simulator or ♿ Accessibility tab is shared here automatically, or upload independently below.

🖼️

Drop an image file here

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

Click and drag on the preview below to select crop area
↻ Rotate & Flip
💾 Output Format & DPI
(embedded in TIFF, PNG, JPEG)
Notes: Rotate/flip buttons apply immediately to the working image and can be undone one step at a time. All other adjustments (crop, resize, tone) are applied when you click ▶ Apply & Preview. The downloaded file is always the same as the preview.

Which format should I use? For most journal submissions, PNG is the best choice — it is lossless, widely accepted, and produces files well under typical per-figure size limits (e.g. 10 MB for Wiley/FEBS journals). TIFF is uncompressed and can be very large (>50 MB for high-resolution figures) — use it only if the journal specifically requires it. JPEG is fine for photographs but introduces compression artifacts unsuitable for graphs and line art. WebP is excellent for web use but not widely accepted by journal submission systems.

DPI and pixel count: DPI is metadata that tells a printer how large to render the image — it has no effect on pixel count or on-screen quality. A 4800×3600 px image tagged as 72 DPI is identical in quality to the same image tagged as 300 DPI; only the pixel dimensions determine sharpness. Most journals require “300 dpi at the intended print width” — for a 7.5″ wide figure that means at least 2250 px wide. At 4800 px wide your figure already exceeds 600 dpi at full page width, so no resizing is needed — just set the DPI tag and export.

TIFF output uses uncompressed RGB/RGBA with correct XResolution/YResolution tags, compatible with ImageJ, Fiji, Photoshop, and journal submission systems.

๐Ÿงฎ Phage Biology, Phage Therapy, and Teaching Calculators

Loading calculators…
Colorblind Vision Simulator — DOI: 10.5281/zenodo.19764782phage.org — Version 2026.05.27