1.0.1 • Published 6 years ago

deuteranopia v1.0.1

Weekly downloads
3
License
BSD-3-Clause
Repository
github
Last release
6 years ago

deuteranopia

CircleCI

npm.io

Simulate the prevalent deuteranopia form of colorblindness.

API

Table of Contents

deuteranopia

Simulate deuteranopia, the common form of colorblindness.

Based heavily off of Color Oracle, which is in turn based off of Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats

Parameters

Examples

deuteranopia([0, 20, 0]);

Returns [r, g, b] simulated color