- From: Simon Richter <geier@psi5.com>
- Date: Sat, 1 Aug 1998 10:53:56 -0400 (EDT)
- To: Walter Ian Kaye <walter@natural-innovations.com>
- CC: braden@endoframe.com, "'Todd Fahrner'" <fahrner@pobox.com>, www-style@w3.org, www-html@w3.org
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 Monday, 3 August 1998 15:22:55 UTC