Re: The color of inclusions via OBJECT (was RE: OBJECT, inheritance, and rendering)

Walter Ian Kaye wrote:

> Well, algorithmically. I once wrote a function to simply get the "opposite"
> color numerically which worked for most colors, but for those whose opposite
> is almost the same (what's the opposite of 50%?), the foreground and background
> colors were difficult to contrast. There would have to be some pre-decided
> "opposites" for colors in the middle between light and dark.

What about using black if the background color would be brighter than 50% on a b/w
screen (RGB mix 30:60:10), and white otherwise. IMHO black on lite green looks
better than pink on light green... :-)

CU
   Simon

Received on Saturday, 1 August 1998 10:53:54 UTC