|
From: | David De La Harpe Golden |
Subject: | Re: Darkening font-lock colors |
Date: | Mon, 03 Aug 2009 03:14:52 +0100 |
User-agent: | Mozilla-Thunderbird 2.0.0.22 (X11/20090701) |
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)
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)))
[Prev in Thread] | Current Thread | [Next in Thread] |