[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font lock, retrieving values of standard colors
From: |
augukarl |
Subject: |
Re: Font lock, retrieving values of standard colors |
Date: |
13 Feb 2007 02:31:30 -0800 |
User-agent: |
G2/1.0 |
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