PHPackages                             hfg/imagecolor - 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. hfg/imagecolor

AbandonedCraft-plugin[Image &amp; Media](/categories/media)

hfg/imagecolor
==============

Extracts the dominant color of an image into a color field.

1.3.2(4y ago)1512[1 PRs](https://github.com/hfg-gmuend/hfg-imagecolor/pulls)MITPHP

Since Oct 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hfg-gmuend/hfg-imagecolor)[ Packagist](https://packagist.org/packages/hfg/imagecolor)[ RSS](/packages/hfg-imagecolor/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

Image + Color
=============

[](#image--color)

Select an image in the asset field and automatically get the image's dominant color in a color field.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.3.0 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require hfg/imagecolor

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for imagecolor.

Usage
-----

[](#usage)

```
{{ fieldName.asset.getUrl() }}
{{ fieldName.color }}
{{ fieldName.brightness }}
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~220 days

Total

5

Last Release

1534d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/612f1ef5066de3fdafe0ee673eb279776dff66334571f851b2e7cc8c6c3ca074?d=identicon)[nklsso](/maintainers/nklsso)

---

Top Contributors

[![superextinct](https://avatars.githubusercontent.com/u/41620375?v=4)](https://github.com/superextinct "superextinct (10 commits)")[![rostockahoi](https://avatars.githubusercontent.com/u/16897125?v=4)](https://github.com/rostockahoi "rostockahoi (2 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginimagecolor

### Embed Badge

![Health badge](/badges/hfg-imagecolor/health.svg)

```
[![Health](https://phpackages.com/badges/hfg-imagecolor/health.svg)](https://phpackages.com/packages/hfg-imagecolor)
```

###  Alternatives

[spacecatninja/imager-x

Ninja powered image transforms.

29390.0k23](/packages/spacecatninja-imager-x)[doublesecretagency/craft-googlemaps

Maps in minutes. Powered by the Google Maps API.

1267.9k](/packages/doublesecretagency-craft-googlemaps)[bymayo/pdf-transform

Transform a PDF page to an image (JPEG, PNG)

1211.6k](/packages/bymayo-pdf-transform)[nystudio107/craft-youtubeliveembed

This plugin allows you to embed a YouTube live stream and/or live chat on your webpage

163.7k](/packages/nystudio107-craft-youtubeliveembed)

PHPackages © 2026

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