> Hello Peter,
> Thanks for the help. But, I guess what i am looking for is a way to
> automatically come up with a set of colors that will look good on an
> arbitrary background. I have found algorithms to create one good
> contrasting color for a particular background, but I need to find many
> colors that will look good on a background.
> I already have a set of 30 colors that look good on Black. I need to
> way to somehow "massage" this list of colors to look good on any
> Or find a way to come up with a small set of colors that have good
> with a given background.
I was just messing around in CorelDraw to see *how* to accomplish this,
and in CorelDraw, I can easily accomplish it by using the HSB color space.
Basically, the HSB (Hue, Saturation, Brightness) color space uses the Hue
as if it were a wheel, marked in 360 degrees. If the hue of the background
color, for example, rotates +20 degrees, you rotate your other colors +20
degrees and you'd be fine.
That said, I've never heard of a converter for Delphi for RGB to HSB color
space and back. Perhaps someone else has one.
Have a great day!
"Funny, I don't remember being absent minded."
Visit my website at http://www.public.asu.edu/~ernestf