Skip to content
L

lokeshdhakar.com/projects/color-thief

Grab the color palette from an image

Open source

#1809in Design
0In stores

Description

Color Thief is a JavaScript library for pulling colors out of images and video. It finds the dominant color of an image, builds a palette of…

Highlights

  • Dominant color and multi-color palettes
  • OKLCH perceptual color space
  • Works in browsers and Node.js, plus a CLI
  • Live video color extraction
  • MIT license with TypeScript support

Ratings & Reviews

No ratings yet

Be the first to rate lokeshdhakar.com/projects/color-thief.

People also visit

E

Extract Colors

Pulls the most common colors out of an image

Design
Launch
P

Pictones

Extract colors from any pictures

Design
Launch
C

ColorSense

Extract color palettes from any image — free, unlimited, no signup

Design
Launch
C

CoolColor Space Video Palette

Extract a color palette from a video in the browser

Photo & Video
Launch
I

Image color Picker

Pick colors from any image instantly

Design
Launch
I

Image Color Picker

Extract color palettes from any image using k-means++ clustering

Design
Launch

lokeshdhakar.com/projects/color-thief FAQ

What is Color Thief?

A JavaScript library that extracts colors from images and video.

How do I install it?

Run npm install colorthief, then call getColorSync for one dominant color or getPaletteSync for a palette.

Does it work in Node.js?

Yes. The page lists browser, Node.js and command-line support.

What license is it under?

The MIT license, according to the page.

How popular is it?

The page shows more than 13,000 GitHub stars and more than 7 million annual npm downloads.

What are the best lokeshdhakar.com/projects/color-thief alternatives?

Popular alternatives to lokeshdhakar.com/projects/color-thief include Extract Colors, Pictones and ColorSense. See all lokeshdhakar.com/projects/color-thief alternatives

Developer Stuff

Badges