# f8, finding color range with a single pixel

**URL:** <https://forum.kirupa.com/t/f8-finding-color-range-with-a-single-pixel/176815>\
**Category:** flash\
**Created:** [January 27, 2006, 5:26am UTC](https://forum.kirupa.com/t/f8-finding-color-range-with-a-single-pixel/176815 "2006-01-27T05:26:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![UNinspired](https://avatars.discourse-cdn.com/v4/letter/u/e0b2c6/32.png) [@UNinspired](https://forum.kirupa.com/u/UNinspired)\
**Post date:** [January 27, 2006, 5:26am UTC](https://forum.kirupa.com/t/f8-finding-color-range-with-a-single-pixel/176815/1 "2006-01-27T05:26:42Z")

</div>

Hi guys,

Wondering if anyone knows how to do this. Say i use getPixel on a bitmap and got the color info for it. Is it possible to define a range for that color i got. I need that as i find it almost impossible to define and work with just a single pixel color from a bitmap image as every single pixel has a different color and i cant go defining pixel by pixel or calculate pixel by pixel. There has to be a better way of doing this.

Many thanks in advance.
