You say
<If the difference between their RGB values exceeds my sensetivity value(which is about 1500000,>
RGB values are Longs which represent 3 Ints (1 each for R, G and B). Viewed as Hex, an RGB value looks like BBGGRR, so your sensitivity figure of 1500000 represents a change in Blue intensity of &H16, plus a change in Green intensity of &HE3 plus a Red change of &H60.
So a single change in the Blue value overpowers any of the other colour changes....
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'