unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: despen@verizon.net
To: help-gnu-emacs@gnu.org
Subject: Re: Naming new GUI colors?
Date: Mon, 26 Jul 2010 09:50:09 -0400	[thread overview]
Message-ID: <icocdu9wtq.fsf@verizon.net> (raw)
In-Reply-To: 87vd821i6o.fsf@lifelogs.com

Ted Zlatanov <tzz@lifelogs.com> writes:

D> On Sat, 24 Jul 2010 10:01:29 +1000 Tim X <timx@nospam.dev.null> 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)


  reply	other threads:[~2010-07-26 13:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-20  8:59 Naming new GUI colors? Elena
2010-07-20 22:10 ` Tim X
2010-07-21 11:26   ` Elena
2010-07-22 18:12   ` Giacomo Boffi
2010-07-23 15:46   ` Ted Zlatanov
2010-07-23 16:55     ` despen
2010-07-23 21:04       ` Ted Zlatanov
2010-07-23 23:28         ` despen
2010-07-24  8:12           ` Giacomo Boffi
2010-07-24  0:01         ` Tim X
2010-07-26 13:33           ` Ted Zlatanov
2010-07-26 13:50             ` despen [this message]
2010-07-26 19:08               ` Ted Zlatanov
2010-07-27 14:58                 ` Giacomo Boffi
2010-07-27 23:28                   ` despen
2010-07-28 13:12                     ` Ted Zlatanov
2010-07-23 23:50     ` Tim X

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=icocdu9wtq.fsf@verizon.net \
    --to=despen@verizon.net \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).