PHPackages                             teodorpopa/color-extractor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. teodorpopa/color-extractor

AbandonedArchivedLibrary[Image &amp; Media](/categories/media)

teodorpopa/color-extractor
==========================

Extract colors from an image

1.0.1(9y ago)213[1 issues](https://github.com/teodorpopa/ColorExtractor/issues)GNUPHPPHP &gt;=5.5.0

Since Sep 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/teodorpopa/ColorExtractor)[ Packagist](https://packagist.org/packages/teodorpopa/color-extractor)[ Docs](https://github.com/teodorpopa/ColorExtractor)[ RSS](/packages/teodorpopa-color-extractor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

ColorExtractor
==============

[](#colorextractor)

[![](https://camo.githubusercontent.com/cdec8d694383f0ce4425b43decc75e6306c46d6e3000162bbc4f8058723e466f/68747470733a2f2f7472617669732d63692e6f72672f74656f646f72706f70612f436f6c6f72457874726163746f722e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/cdec8d694383f0ce4425b43decc75e6306c46d6e3000162bbc4f8058723e466f/68747470733a2f2f7472617669732d63692e6f72672f74656f646f72706f70612f436f6c6f72457874726163746f722e7376673f6272616e63683d6d6173746572) [![](https://camo.githubusercontent.com/8a78e165b7e3673e5b56aace64229ff2af9a0c27c2dc8191b242a70878775320/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f74656f646f72706f70612f436f6c6f72457874726163746f722f6261646765732f6770612e737667)](https://codeclimate.com/github/teodorpopa/ColorExtractor) [![Coverage Status](https://camo.githubusercontent.com/43c9f85f059dacbd53798a75712642d23adc760e5acf1303d4203f6bdba3af13/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f74656f646f72706f70612f436f6c6f72457874726163746f722f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/teodorpopa/ColorExtractor?branch=master) [![](https://camo.githubusercontent.com/7866b8c5a24860610acff7128e488f68d13a241779291f2d3ea120062621ff9a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74656f646f72706f70612f436f6c6f72457874726163746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/7866b8c5a24860610acff7128e488f68d13a241779291f2d3ea120062621ff9a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74656f646f72706f70612f436f6c6f72457874726163746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)

Based on

Extends the functionality to extract also the RGB index and color percentage.

##### Example

[](#example)

```
$colors = new ColorExtractor::load('image.jpg')->extract();

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~511 days

Total

2

Last Release

3388d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc00da447b61f05c72a3905c35f2dd3aaa356769566f8ee2ba927b362a0148aa?d=identicon)[teodorpopa](/maintainers/teodorpopa)

---

Top Contributors

[![teodorpopa](https://avatars.githubusercontent.com/u/432417?v=4)](https://github.com/teodorpopa "teodorpopa (15 commits)")

---

Tags

imageexportcolorpallete

### Embed Badge

![Health badge](/badges/teodorpopa-color-extractor/health.svg)

```
[![Health](https://phpackages.com/badges/teodorpopa-color-extractor/health.svg)](https://phpackages.com/packages/teodorpopa-color-extractor)
```

###  Alternatives

[intervention/image

PHP Image Processing

14.3k194.3M2.2k](/packages/intervention-image)[league/color-extractor

Extract colors from an image as a human would do.

1.3k4.7M18](/packages/league-color-extractor)[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k51.2M116](/packages/league-glide)[liip/imagine-bundle

This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.

1.7k38.3M217](/packages/liip-imagine-bundle)[spatie/image

Manipulate images with an expressive API

1.4k54.4M138](/packages/spatie-image)[brianmcdo/image-palette

Extracts colors from an image and generates a color palette against a whitelist of colors.

179209.0k2](/packages/brianmcdo-image-palette)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
