From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19599 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: HTML foreground and background colors being the same... poll time! Date: 03 Dec 1998 15:44:24 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <199812031400.JAA09195@kramer.bp.aventail.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035157920 12428 80.91.224.250 (20 Oct 2002 23:52:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:52:00 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id JAA28906 for ; Thu, 3 Dec 1998 09:47:02 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.9.1/8.9.1) with ESMTP id IAA19661; Thu, 3 Dec 1998 08:45:13 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 03 Dec 1998 08:44:49 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id IAA16182 for ; Thu, 3 Dec 1998 08:44:40 -0600 (CST) Original-Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id JAA28847 for ; Thu, 3 Dec 1998 09:44:31 -0500 (EST) Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.9.0/8.9.0) id PAA05630; Thu, 3 Dec 1998 15:44:24 +0100 (MET) Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h writes: > Hrvoje Niksic writes: > > Hrvoje> "William M. Perry" writes: > >> I'd vote for (c), but I have no clue on how to go about finding > >> or writing a good contrast-finding algorithm. Anyone out there > >> know of one? > > Hrvoje> You can look at how XEmacs implements the "shadows" in > Hrvoje> redisplay-x.c. That's one example I know of. > > Not quite. All they do is modify the brightness around one color > (the widget background), and they actually [in|de]crease all RGB > components by the same amount. Finding the best contrast for a given > color may involve using a totally different one. The guys at gimp > could probably help you on this. Thanks for the reality check. I thought the stuff at redisplay-x was general. -- Hrvoje Niksic | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- The meta-Turing test counts a thing as intelligent if it seeks to devise and apply Turing tests to objects of its own creation.