Skip to main content


A very WIP color module in TypeScript.

Supports dithering through error diffusion method.

Check for documentation.

Supports color quantization through popularity method.

  • TODO: Implement median cut or octrees.

Provides a class Color for general color-related stuff. Color has been moved to retraigo/colors

Refer the examples directory for usage.