[Top][All Lists]

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

Re: Darkening font-lock colors

From: Lennart Borgman
Subject: Re: Darkening font-lock colors
Date: Mon, 3 Aug 2009 04:28:55 +0200

On Mon, Aug 3, 2009 at 4:14 AM, David De La Harpe
Golden<address@hidden> wrote:
> Juri Linkov wrote:
>> Can we return the to the initial design with a color like say
>> "RosyBrown4"?
> Reminds me, I was going to nitpick that one of Lennart's favoured colors
> (#9C6969) was close to RosyBrown4 (#8B6969)

My favorites have changed a bit (or maybe I have changed). RosyBrown4
is unfortunately rather dull. It is possible to use more colored
colors which are easier to distinguish. My latest suggestions are to
use #797900 for strings and #9b6900 for variables.

But I am trying to find better tools to investigate this. If anyone
want to help me translating CIE.c from GIMP/GEGL to elisp, please mail

> color-name-rgb-alist in tty-colors.el apparently contains a emacs-internal
> list of the well-known named colors (apparently leaving
> out a few that have platform specific interpretations according to the
> source comments), so:
> (defun colored-colorlist ()
>  (interactive)
>  (let ((buf (get-buffer-create "*color-list*")))
>    (with-current-buffer buf
>      (delete-region (point-min) (point-max))
>      (mapcar (lambda (l)
>                (insert (format "%-20s." (car l)))
>                (insert (propertize
>                         (format "%-20s.\n" (car l))
>                         'face (cons 'foreground-color  (car l)))))
>              color-name-rgb-alist))
>    (display-buffer buf)))

Is not that what list-colors-display does?

reply via email to

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