opsinjs

CvdCollision

Two colours that stop being distinguishable under one kind of colour vision deficiency, and the Lc left between them once simulated.

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.

CvdCollision

Two colours that stop being distinguishable under one kind of colour vision deficiency, and the Lc left between them once simulated.

KindDeclared in
interfacelib/color/cvd.ts
export interface CvdCollision {
  type: CvdType
  a: string
  b: string
  lc: number
}

On this page