Learn R Programming

colorblindr (version 0.1.0)

protan: Convert colors using the protan model of colorblindness

Description

Convert colors using the protan model of colorblindness

Usage

protan(colors, sev = 1)

Arguments

colors

Vector of colors to convert

sev

Severity of the color vision defect, a number between 0 and 1