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: Tim X
Subject: Re: Naming new GUI colors?
Date: Wed, 08 Dec 2010 15:19:41 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Elena <egarrulo@gmail.com> writes:

> Hello,
>
> is there a way to name new GUI colors in Emacs, and get them listed in
> `list-color-display'? Something like this:
>
> (set-named-color "army green" "#4B5320")
>
> ELisp reference only talks about tty.
>

I don't believe so. The colour names are derived from the rgb.txt file
(normally in the /etc/X11 directory on most Linux systems. You could
possibly add your own colour names to this file, but it is prtty
extensive already. 

Tim


-- 
tcross (at) rapttech dot com dot au


reply via email to

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