> I need to derive the complementary colors of colors in either an RGB or
> HSB-scheme, it does not matter much which. Can anybody tell me how to go
> about it (pref. by e-amil)?
Convert to HSL, flip the H location about the center of the circle and you
got your complementary color. If you have more than one color, divide the
hue circle into the appropriate number of sections, e.g., if you want 3
colors, they will be 120 degrees apart in the hue domain. The S and L
levels remain the same.
I hope this helps,
WWW site: http://www.wavemetrics.com/
FTP site: ftp://d31rz0.stanford.edu/
FTP site: ftp://ftp.wavemetrics.com/