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:20:29 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Wed, 21 Jul 2010 08:10:03 +1000 Tim X <timx@nospam.dev.null> wrote: 
>
> TX> 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.
>>> 
>
> TX> I don't believe so. The colour names are derived from the rgb.txt file
> TX> (normally in the /etc/X11 directory on most Linux systems. You could
> TX> possibly add your own colour names to this file, but it is prtty
> TX> extensive already. 
>
> That seems like a pretty bad limitation, especially where English is not
> spoken.  Emacs should at least allow naming colors (as opposed to faces)
> IMHO.

I think it would be ridiculous for Emacs to go on a color naming spree.

There is already a number of lists of standard color names.
There's one for X11, there's one for html, I'm sure there are lots more.

If you think you have a legitimate name for a new color,
approach one of the groups that already has a list.

Having a color named "army green" with different rbg values will help
no one.

BTW, which army?


reply via email to

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