# Color Detection possible?

**URL:** <https://forum.kirupa.com/t/color-detection-possible/294384>\
**Category:** flash\
**Created:** [August 13, 2009, 10:47am UTC](https://forum.kirupa.com/t/color-detection-possible/294384 "2009-08-13T10:47:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![swiftmend](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@swiftmend](https://forum.kirupa.com/u/swiftmend)\
**Post date:** [August 13, 2009, 10:47am UTC](https://forum.kirupa.com/t/color-detection-possible/294384/1 "2009-08-13T10:47:31Z")

</div>

Hello All,

Currently making a music project that will, in theory, play sounds based on detected colors a webcam can see.

I’m certain this is possible in either AS 2 or 3 - but unsure exactly how.

I’ve searched the wonderful nets for a tutorial or an example of this being done with flash but have come up with nothing.

Is there any tutorials for detecting colors and then responding to them? (All as viewed by webcam, so in real-time).

Thanks
