import { protanopiaColor } from "https://deno.land/x/chalkpot_color@3.1.0/mod.ts";
Example
const red = new Color(false, 255, 0, 0);
console.log(protanopiaColor(red).components); // [144.58..., 142.29, 0]
Parameters
color: Color
x/chalkpot_color/mod.ts>protanopiaColor
import { protanopiaColor } from "https://deno.land/x/chalkpot_color@3.1.0/mod.ts";
const red = new Color(false, 255, 0, 0);
console.log(protanopiaColor(red).components); // [144.58..., 142.29, 0]