Skip to content

🔎 dominate-color-js is a library for finding the dominant color in PNG, JPEG and WEBP images using the KMeans++ algorithm. It can extract the primary color and its hue in RGBA format and convert it.

Notifications You must be signed in to change notification settings

Dominate-color/dominate-color-js

Repository files navigation

@dominate-color.js

A mono repository containing all packages named dominate-color.js

⚠️The package utilizes the Web API. If you intend to use it in a different environment, please check the repository for the presence of polyfills. If they are missing, you will be responsible for providing them.

Packages

core-npm-badge Size code-badge

A TypeScript library that is adept at extracting the dominant color from an image and providing detailed color analysis.

The functionality of @dominate-color.js/core is built to be precise and efficient, offering developers the tools needed to analyze colors in images, extract color palettes, and convert them into different formats, such as RGBA.

Prior to integrating @dominate-color.js/core into your project, it's recommended to review the documentation thoroughly to understand the full capabilities of the library and how to implement it effectively.

About

🔎 dominate-color-js is a library for finding the dominant color in PNG, JPEG and WEBP images using the KMeans++ algorithm. It can extract the primary color and its hue in RGBA format and convert it.

Topics

Resources

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published