I'm guessing from the nature of your question that you probably don't just want 
them not equal, you want them sufficiently different to make them visually 
distinct.

So, I'd suggest trying something like taking the average of the separate Red, 
Green, and Blue components of C1 and C2 and using those to construct a third 
color. 

Unless C1 and C2 are already close, that should give you a C3 well distinct 
from C1 and C2.

Can't promise how ATTRACTIVE it will be though ;-)

Stephen Posey
[email protected]



-----Original Message-----
>From: -K2RFP- <[email protected]>
>Sent: Jun 5, 2010 1:05 PM
>To: [email protected]
>Subject: Color?
>
>On drawing on an image I have two Brush colors, C1 and C2.
>How do I choose a third brush color C3 such that
>(C3<>C1) and (C3<>C2) and C3 is a valid Brush color?
>__________________________________________________
>Delphi-Talk mailing list -> [email protected]
>http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Reply via email to