npm colorthief 3.0.0
v3.0.0

13 hours ago

Full TypeScript rewrite with a unified browser

  • Node.js API.

Highlights:

  • Rich Color objects with .hex(), .rgb(), .hsl(), .oklch(), .css()
  • OKLCH perceptually uniform quantization
  • Semantic swatches (Vibrant, Muted, DarkVibrant, DarkMuted, LightVibrant, LightMuted)
  • Live extraction with observe() for video, canvas, and img elements
  • Web Worker offloading
  • Progressive 3-pass extraction
  • WCAG contrast ratios and text color recommendations
  • AbortSignal support
  • Zero runtime dependencies

Don't miss a new colorthief release

NewReleases is sending notifications on new releases.