all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: augukarl@yahoo.se
To: help-gnu-emacs@gnu.org
Subject: Re: Font lock, retrieving values of standard colors
Date: 13 Feb 2007 02:31:30 -0800	[thread overview]
Message-ID: <1171362690.354462.106170@s48g2000cws.googlegroups.com> (raw)
In-Reply-To: <mailman.4411.1171360588.2155.help-gnu-emacs@gnu.org>

On 13 Feb, 10:56, "Herbert Euler" <herberteu...@hotmail.com> wrote:
> >Does anyone know how to retrieve the (hex) values of the colors in the
> >standard color theme with Emacs, i.e. what's the color code for font-
> >lock-string-face, font-lock-variable-name-face etc.
>
> ELISP> (face-attribute 'font-lock-string-face :foreground)
> "red"
> ELISP> (color-values "red")
> (65535 0 0)

Excellent, thanks.


August

      parent reply	other threads:[~2007-02-13 10:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-13  8:53 Font lock, retrieving values of standard colors augukarl
2007-02-13  9:56 ` Herbert Euler
     [not found] ` <mailman.4411.1171360588.2155.help-gnu-emacs@gnu.org>
2007-02-13 10:31   ` augukarl [this message]

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=1171362690.354462.106170@s48g2000cws.googlegroups.com \
    --to=augukarl@yahoo.se \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.