Gnus development mailing list
 help / color / mirror / Atom feed
From: Didier Verna <verna@inf.enst.fr>
Cc: ding@gnus.org
Subject: Re: HTML foreground and background colors being the same... poll time!
Date: 03 Dec 1998 15:37:15 +0100	[thread overview]
Message-ID: <qyjbtllcmw4.fsf@metheny.enst.fr> (raw)
In-Reply-To: Hrvoje Niksic's message of "03 Dec 1998 15:26:04 +0100"

Hrvoje Niksic writes:

Hrvoje> "William M. Perry" <wmperry@aventail.com> 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 redisplay-x.c. 
Hrvoje> 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.

-- 
    /     /   _   _       Didier Verna        http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /      E.N.S.T. INF C201.1      mailto:verna@inf.enst.fr
/_/ / /_/ / /__ /        46 rue Barrault        Tel.   (33) 01 45 81 73 46
                      75634 Paris  cedex 13     Fax.   (33) 01 45 81 31 19


  reply	other threads:[~1998-12-03 14:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-03 14:00 William M. Perry
1998-12-03 14:26 ` Hrvoje Niksic
1998-12-03 14:37   ` Didier Verna [this message]
1998-12-03 14:44     ` Hrvoje Niksic
1998-12-03 14:54 ` Colin Rafferty
1998-12-03 16:08   ` Ken McGlothlen
1998-12-03 14:56 ` Bill White
1998-12-03 16:43 ` Wes Hardaker
1998-12-03 18:49 ` Matt Armstrong
1998-12-09 16:06   ` William M. Perry
1998-12-04  1:19 ` Laurent Martelli
1998-12-04  5:31   ` Felix Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=qyjbtllcmw4.fsf@metheny.enst.fr \
    --to=verna@inf.enst.fr \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).