Comanche

01-21-2005, 03:29 AM

I had this question years ago, but then it was just a matter of curiousity, and now it became important:

Suppose I got RGB-color "A". How can I calculate color "B" which will "differ" from given "A" - so that when placed close to each other (in some GUI) they can't be "mixed" by our eyes?

I think this can be really done mathematically, but I don't know how.

Besides - as I may suppose - too many values can be calculated for color "B", so possibly it's a good idea to add one more condition to this task: «Color "B" should be a gradation of a second given color "C"». E.g. it can be made through fixing one of the (R, G, B) values of the desired color...

Any ideas?

Suppose I got RGB-color "A". How can I calculate color "B" which will "differ" from given "A" - so that when placed close to each other (in some GUI) they can't be "mixed" by our eyes?

I think this can be really done mathematically, but I don't know how.

Besides - as I may suppose - too many values can be calculated for color "B", so possibly it's a good idea to add one more condition to this task: «Color "B" should be a gradation of a second given color "C"». E.g. it can be made through fixing one of the (R, G, B) values of the desired color...

Any ideas?