# Get dominant color

**URL:** <https://forum.kirupa.com/t/get-dominant-color/149066>\
**Category:** flash\
**Created:** [May 25, 2005, 6:53pm UTC](https://forum.kirupa.com/t/get-dominant-color/149066 "2005-05-25T18:53:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [May 25, 2005, 6:53pm UTC](https://forum.kirupa.com/t/get-dominant-color/149066/1 "2005-05-25T18:53:24Z")

</div>

Anyone know of any tuts around that can get the dominant color of an imported jpg dynamically loaded? I am trying to match the background color to a imported jpg. Im not sure AS can do this but maybe some kind of server side script?
