{"id":18891000,"url":"https://github.com/iso50/dichromat-simulation","last_synced_at":"2026-06-28T19:31:24.115Z","repository":{"id":14619762,"uuid":"17337098","full_name":"ISO50/dichromat-simulation","owner":"ISO50","description":null,"archived":false,"fork":false,"pushed_at":"2014-03-02T12:27:24.000Z","size":160,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-18T17:36:03.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ISO50.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-02T12:19:03.000Z","updated_at":"2023-12-11T07:25:29.000Z","dependencies_parsed_at":"2022-08-31T09:12:16.659Z","dependency_job_id":null,"html_url":"https://github.com/ISO50/dichromat-simulation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ISO50/dichromat-simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ISO50%2Fdichromat-simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ISO50%2Fdichromat-simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ISO50%2Fdichromat-simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ISO50%2Fdichromat-simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ISO50","download_url":"https://codeload.github.com/ISO50/dichromat-simulation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ISO50%2Fdichromat-simulation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34901959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T07:58:30.144Z","updated_at":"2026-06-28T19:31:24.094Z","avatar_url":"https://github.com/ISO50.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dichromat simulation\n### Abstract\n\nThis Firefox extension simulates how webpages look for colorblind persons:\n* Protanopia\n* Deuteranopia\n* Tritanopia\n\nTherefore the extension changes the DOM of your HTML document, the stylesheets and the images. It replaces all original colors with the color that a colorblind person would see.\n\n### Limitations\n\n* In contrast to older versions html background attribute is not supported\n* Plugin stuff still not supported\n* Lots of ways that bring color to your document not supported\n* No SVG support\n* Gradients and Alpha is hard to cover correctly\n* Processing is slow and blocks the browser\n\nThat means if you use anything special that is not supported you could use a fallback method by processing a screenshot of your website. The advantage of using the DOM way is that you have also support for css pseudo classes for example :hover.\n\n### Accuracy\n\nFirst of all, I am aware that this implementation does not match 1 to 1 with vischeck or other tools. The algorithm is based on this papers:\n\n* Computerized simulation of color appearance for dichromats\n* Corresponding-pair procedure: a new approach to simulation of dichromatic color perception\n* Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats\n\nI am really interested if you find bugs or wrong assumptions in the implementation of that algorithm please contact me.\n\n### Changelog\n\n* Version 5.0.6 fixes the Extension to work with newer Firefox Versions as the API has changed a lot.\n\n### Build instructions\n\n* npm install\n* grunt\n\n### Release instructions\n\n* Change version in package.json\n* Change version in install.rdf\n\n### History\n\nThis extensions bases on code I've wrote for an project at my university. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiso50%2Fdichromat-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiso50%2Fdichromat-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiso50%2Fdichromat-simulation/lists"}