# A Prevailing Colors analyzer

**URL:** <https://forum.kirupa.com/t/a-prevailing-colors-analyzer/58643>\
**Category:** Uncategorized\
**Created:** [July 24, 2004, 12:00pm UTC](https://forum.kirupa.com/t/a-prevailing-colors-analyzer/58643 "2004-07-24T12:00:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Veryfine007](https://avatars.discourse-cdn.com/v4/letter/v/b9e5f3/32.png) [@Veryfine007](https://forum.kirupa.com/u/Veryfine007)\
**Post date:** [July 24, 2004, 12:00pm UTC](https://forum.kirupa.com/t/a-prevailing-colors-analyzer/58643/1 "2004-07-24T12:00:50Z")

</div>

Heyhey. Sup? I’m looking to have code that will analyze an image and return it’s predominent color(s)(2 or 3). And then be able to generate colors at varying opposites to it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2004, 8:02pm UTC](https://forum.kirupa.com/t/a-prevailing-colors-analyzer/58643/2 "2004-07-24T20:02:55Z")

</div>

That’s nice, good luck with that.

In Flash there is no method that can analyse a picture or pixels.  
But if you’re really stubborn about this there are ways to get result to some degree…  
But that includes converting the bitmappicture to a vectorimage, might be pretty complex.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2004, 8:37pm UTC](https://forum.kirupa.com/t/a-prevailing-colors-analyzer/58643/3 "2004-07-24T20:37:33Z")

</div>

thanks for the heads up

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2004, 10:46pm UTC](https://forum.kirupa.com/t/a-prevailing-colors-analyzer/58643/4 "2004-07-24T22:46:58Z")

</div>

you could open the image in PHP and do it there
