From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: despen@verizon.net Newsgroups: gmane.emacs.help Subject: Re: Naming new GUI colors? Date: Mon, 26 Jul 2010 09:50:09 -0400 Organization: A noiseless patient Spider Message-ID: References: <1f9d43c5-e83f-47f8-bbed-15f0f96944b2@l14g2000yql.googlegroups.com> <871vaxn6tg.fsf@puma.rapttech.com.au> <87y6d22obz.fsf@lifelogs.com> <87d3ud3o6n.fsf@lifelogs.com> <87bp9xn3xi.fsf@puma.rapttech.com.au> <87vd821i6o.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291851767 12440 80.91.229.12 (8 Dec 2010 23:42:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 23:42:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 00:42:43 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQTee-0000yt-EP for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 00:42:36 +0100 Original-Received: from localhost ([127.0.0.1]:55172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQTaz-0007cH-3e for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 18:38:49 -0500 Original-Path: usenet.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!open-news-network.org!eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Injection-Date: Mon, 26 Jul 2010 13:50:09 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="zonOWvH8iMOSVG4S2eKuOA"; logging-data="21216"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2nKXpwftoY4TRTXiuV13uk5A5RxIIkRM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:Ll9pJvQrWF5oj7kAk/UrtW/SX5k= sha1:V4qbajw2BiAdgPjhWiF/ijnTDro= Original-Xref: usenet.stanford.edu gnu.emacs.help:180072 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76214 Archived-At: Ted Zlatanov writes: D> On Sat, 24 Jul 2010 10:01:29 +1000 Tim X wrote: > > TX> You can define any colour you want using the existing mechanism by using > TX> the # hex notation. You are not restricted to just using the 'named' > TX> colours. > > Most users don't speak hex. I don't want to parse hex every time I look > at my face definitions. I still can't make any sense of what you are asking for. Does this do what you want? (setq my-red "#FF0033") (set-face-foreground 'default my-red)