Colorverse
Color vision convertor / simluator
Based on Machado, Oliveira & Fernandes (2009) model. Customized with dynamic level parameter introduced and nonlinear easing of the level.
Usage
Executable
Executables on multiple platforms are found in Releases. Just run it without any installation.
$ # usage
$ ./colorverse -c ${color vision} -l ${level} -o ${output file path} ${input file path}
$ # for example
$ ./colorverse -c protanomaly -l 0.75 -o out.png in.png
$ # help
$ ./colorverse --help
Rust and cargo
Configure:
$ cargo add colorverse
Use:
use convert;
use ColorVisionType;
let color_vision_type = Protanomaly;
let level = 0.5;
let input_file_path = "tests/fixtures/input.png";
let output_file_path = format!;
convert
.unwrap
.save_as;
use convert;
use ColorVisionType;
let mut color_vision_type_iterator = new;
while let Some = color_vision_type_iterator.next
Samples
Trichromacy

Protanomaly 50%

Protanomaly 100% (Protanopia)

Deuteranomaly 50%

Deuteranomaly 100% (Deuteranopia)

Tritanomaly 50%

Tritanomaly 100% (Tritanopia)

Achromatomaly 50%

Achromatomaly 100% (Achromatopsia)

Open-source, with care
This project is lovingly built and maintained by volunteers.
We hope it helps streamline your work.
Please understand that the project has its own direction — while we welcome feedback, it might not fit every edge case 🌱