<p>Apparently there's a pretty good plugin that does the trick:
"Image Color" by Keith Mancuso
<a href="https://github.com/familiar-studio/Craft-Image-Color" rel="nofollow noreferrer">https://github.com/familiar-studio/Craft-Image-Color</a></p>

CC BY-SA 3.0
2017-03-01T12:51:23.820Z
The plugin has a few issues, most notably that it doesn't work with S3 assets right out the box. It's an easy to fix issue, that will probably go away in future versions.
Panos Spiliotis
CC BY-SA 3.0
2017-03-01T12:48:01.990Z
2017-03-01T12:48:01.990Z
Panos Spiliotis
<p>Given an image uploaded to Craft, I am wondering if there is a plug-in or a native method to detect the dominant color of said image.</p>

<assets><plugins>
Is there a way to calculate the dominant color from an asset available in Craft?
# Is there a way to calculate the dominant color from an asset available in Craft?

(Asked by: username_0 on 2017-03-01)

Given an image uploaded to Craft, I am wondering if there is a plug-in or a native method to detect the dominant color of said image.

**Tags:** assets, plugins


---

## 1 answers

### Answer by username_0 on 2017-03-01. Score: 1

Apparently there's a pretty good plugin that does the trick:
"Image Color" by Keith Mancuso
<https://github.com/familiar-studio/Craft-Image-Color>

> **Comments:**
> **username_0**: The plugin has a few issues, most notably that it doesn't work with S3 assets right out the box. It's an easy to fix issue, that will probably go away in future versions.  

---

