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

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

Re: Naming new GUI colors?


From: despen
Subject: Re: Naming new GUI colors?
Date: Wed, 08 Dec 2010 15:21:01 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

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 via email to

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