help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Font lock, retrieving values of standard colors


From: Herbert Euler
Subject: RE: Font lock, retrieving values of standard colors
Date: Tue, 13 Feb 2007 17:56:19 +0800

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)

Regards,
Guanpeng Xu

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]