quote:

I'm unfamiliar with that term: "XOR'ing the color masks".


I assume this:

Take the two colours you wish to compare in the usual format, eg for
white #ffffff and off white #fefefe. Perform the exclusive OR operator
on the two numbers (ie convert to binary (white
111111111111111111111111 and off white 111111101111111011111110) and
perform exclusive OR bitwise to get 000000010000000100000001 and
convert back to hex. to get #010101). If all three pairs for red green
and blue is a small number, (which it is, being 01 for all three) then
the two colours are pretty similar.

[This message has been edited by LittleJoe (edited 06-20-2000).]

