opsinjs

CvdType

The three dichromacies, plus the achromatic check every specimen must also survive.

How this is generated

Source: lib/color/cvd.ts. Script: scripts/build-reference.mts. Command: pnpm run generate.

Everything below is copied from the symbol, so a page is improved by improving its doc comment. The API index says why there is a page per symbol and what these pages still do not carry.

CvdType

The three dichromacies, plus the achromatic check every specimen must also survive.

KindDeclared in
typelib/color/cvd.ts
export type CvdType = "protanopia" | "deuteranopia" | "tritanopia" | "grayscale"

On this page