Mercurial > emacs
annotate lisp/term/tty-colors.el @ 37617:35040ab2df64 EMACS_PRETEST_21_0_103
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 08 May 2001 12:31:31 +0000 |
parents | c711f0627837 |
children | 7904e11622c7 |
rev | line source |
---|---|
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
1 ;;; tty-color.el --- color support for character terminals |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
2 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
3 ;; Copyright (C) 1999 Free Software Foundation, Inc. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
4 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
5 ;; Author: Eli Zaretskii <eliz@is.elta.co.il> |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
6 ;; Maintainer: FSF |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
7 ;; Keywords: terminals, faces |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
8 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
9 ;; This file is part of GNU Emacs. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
10 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
11 ;; GNU Emacs is free software; you can redistribute it and/or modify |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
12 ;; it under the terms of the GNU General Public License as published by |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
13 ;; the Free Software Foundation; either version 2, or (at your option) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
14 ;; any later version. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
15 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
16 ;; GNU Emacs is distributed in the hope that it will be useful, |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
19 ;; GNU General Public License for more details. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
20 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
21 ;; You should have received a copy of the GNU General Public License |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
24 ;; Boston, MA 02111-1307, USA. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
25 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
26 ;;; Commentary: |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
27 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
28 ;; Emacs support for colors evolved from the X Window System; color |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
29 ;; support for character-based terminals came later. Many Lisp |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
30 ;; packages use color names defined by X and assume the availability |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
31 ;; of certain functions that look up colors, convert them to pixel |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
32 ;; values, etc. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
33 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
34 ;; This file provides a more or less useful emulation of the X color |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
35 ;; functionality for character-based terminals, and thus relieves the |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
36 ;; rest of Emacs from including special code for this case. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
37 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
38 ;; Here's how it works. The support for terminal and MSDOS frames |
32647
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
39 ;; maintains an alist, called `tty-defined-color-alist', which |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
40 ;; associates colors supported by the terminal driver with small |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
41 ;; integers. (These small integers are passed to the library |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
42 ;; functions which set the color, and are effectively indices of the |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
43 ;; colors in the supported color palette.) When Emacs needs to send a |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
44 ;; color command to the terminal, the color name is first looked up in |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
45 ;; `tty-defined-color-alist'. If not found, functions from this file |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
46 ;; can be used to map the color to one of the supported colors. |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
47 ;; Specifically, the X RGB values of the requested color are extracted |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
48 ;; from `color-name-rgb-alist' and then the supported color is found |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
49 ;; with the minimal distance in the RGB space from the requested |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
50 ;; color. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
51 |
32647
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
52 ;; `tty-defined-color-alist' is created at startup by calling the |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
53 ;; function `tty-color-define', defined below, passing it each |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
54 ;; supported color, its index, and its RGB values. The standard list |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
55 ;; of colors supported by many Unix color terminals, including xterm, |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
56 ;; FreeBSD, and GNU/Linux, is supplied below in `tty-standard-colors'. |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
57 ;; If your terminal supports different or additional colors, call |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
58 ;; `tty-color-define' from your `.emacs' or `site-start.el'. For |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
59 ;; more-or-less standard definitions of VGA text-mode colors, see the |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
60 ;; beginning of lisp/term/pc-win.el. |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
61 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
62 ;;; Code: |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
63 |
32647
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
64 ;; The following list is taken from rgb.txt distributed with X. |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
65 ;; |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
66 ;; WARNING: Some colors, such as "lightred", do not appear in this |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
67 ;; list. If you think it's a good idea to add them, don't! The |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
68 ;; problem is that the X-standard definition of "red" actually |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
69 ;; corresponds to "lightred" on VGA (that's why pc-win.el and |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
70 ;; w32-fns.el define "lightred" with the same RGB values as "red" |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
71 ;; below). Adding "lightred" here would therefore create confusing |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
72 ;; and counter-intuitive results, like "red" and "lightred" being the |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
73 ;; same color. A similar situation exists with other "light*" colors. |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
74 ;; |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
75 ;; Nevertheless, "lightred" and other similar color names *are* |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
76 ;; defined for the MS-DOS and MS-Windows consoles, because the users |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
77 ;; on those systems expect these colors to be available. |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
78 ;; |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
79 ;; For these reasons, package maintaners are advised NOT to use color |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
80 ;; names such as "lightred" or "lightblue", because they will have |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
81 ;; different effect on different displays. Instead, use "red1" and |
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
82 ;; "blue1", respectively. |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
83 (defvar color-name-rgb-alist |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
84 '(("snow" 255 250 250) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
85 ("ghostwhite" 248 248 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
86 ("whitesmoke" 245 245 245) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
87 ("gainsboro" 220 220 220) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
88 ("floralwhite" 255 250 240) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
89 ("oldlace" 253 245 230) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
90 ("linen" 250 240 230) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
91 ("antiquewhite" 250 235 215) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
92 ("papayawhip" 255 239 213) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
93 ("blanchedalmond" 255 235 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
94 ("bisque" 255 228 196) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
95 ("peachpuff" 255 218 185) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
96 ("navajowhite" 255 222 173) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
97 ("moccasin" 255 228 181) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
98 ("cornsilk" 255 248 220) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
99 ("ivory" 255 255 240) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
100 ("lemonchiffon" 255 250 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
101 ("seashell" 255 245 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
102 ("honeydew" 240 255 240) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
103 ("mintcream" 245 255 250) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
104 ("azure" 240 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
105 ("aliceblue" 240 248 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
106 ("lavender" 230 230 250) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
107 ("lavenderblush" 255 240 245) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
108 ("mistyrose" 255 228 225) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
109 ("white" 255 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
110 ("black" 0 0 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
111 ("darkslategray" 47 79 79) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
112 ("darkslategrey" 47 79 79) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
113 ("dimgray" 105 105 105) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
114 ("dimgrey" 105 105 105) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
115 ("slategray" 112 128 144) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
116 ("slategrey" 112 128 144) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
117 ("lightslategray" 119 136 153) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
118 ("lightslategrey" 119 136 153) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
119 ("gray" 190 190 190) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
120 ("grey" 190 190 190) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
121 ("lightgrey" 211 211 211) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
122 ("lightgray" 211 211 211) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
123 ("midnightblue" 25 25 112) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
124 ("navy" 0 0 128) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
125 ("navyblue" 0 0 128) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
126 ("cornflowerblue" 100 149 237) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
127 ("darkslateblue" 72 61 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
128 ("slateblue" 106 90 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
129 ("mediumslateblue" 123 104 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
130 ("lightslateblue" 132 112 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
131 ("mediumblue" 0 0 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
132 ("royalblue" 65 105 225) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
133 ("blue" 0 0 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
134 ("dodgerblue" 30 144 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
135 ("deepskyblue" 0 191 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
136 ("skyblue" 135 206 235) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
137 ("lightskyblue" 135 206 250) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
138 ("steelblue" 70 130 180) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
139 ("lightsteelblue" 176 196 222) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
140 ("lightblue" 173 216 230) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
141 ("powderblue" 176 224 230) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
142 ("paleturquoise" 175 238 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
143 ("darkturquoise" 0 206 209) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
144 ("mediumturquoise" 72 209 204) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
145 ("turquoise" 64 224 208) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
146 ("cyan" 0 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
147 ("lightcyan" 224 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
148 ("cadetblue" 95 158 160) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
149 ("mediumaquamarine" 102 205 170) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
150 ("aquamarine" 127 255 212) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
151 ("darkgreen" 0 100 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
152 ("darkolivegreen" 85 107 47) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
153 ("darkseagreen" 143 188 143) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
154 ("seagreen" 46 139 87) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
155 ("mediumseagreen" 60 179 113) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
156 ("lightseagreen" 32 178 170) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
157 ("palegreen" 152 251 152) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
158 ("springgreen" 0 255 127) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
159 ("lawngreen" 124 252 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
160 ("green" 0 255 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
161 ("chartreuse" 127 255 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
162 ("mediumspringgreen" 0 250 154) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
163 ("greenyellow" 173 255 47) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
164 ("limegreen" 50 205 50) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
165 ("yellowgreen" 154 205 50) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
166 ("forestgreen" 34 139 34) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
167 ("olivedrab" 107 142 35) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
168 ("darkkhaki" 189 183 107) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
169 ("khaki" 240 230 140) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
170 ("palegoldenrod" 238 232 170) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
171 ("lightgoldenrodyellow" 250 250 210) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
172 ("lightyellow" 255 255 224) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
173 ("yellow" 255 255 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
174 ("gold" 255 215 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
175 ("lightgoldenrod" 238 221 130) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
176 ("goldenrod" 218 165 32) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
177 ("darkgoldenrod" 184 134 11) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
178 ("rosybrown" 188 143 143) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
179 ("indianred" 205 92 92) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
180 ("saddlebrown" 139 69 19) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
181 ("sienna" 160 82 45) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
182 ("peru" 205 133 63) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
183 ("burlywood" 222 184 135) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
184 ("beige" 245 245 220) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
185 ("wheat" 245 222 179) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
186 ("sandybrown" 244 164 96) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
187 ("tan" 210 180 140) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
188 ("chocolate" 210 105 30) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
189 ("firebrick" 178 34 34) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
190 ("brown" 165 42 42) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
191 ("darksalmon" 233 150 122) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
192 ("salmon" 250 128 114) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
193 ("lightsalmon" 255 160 122) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
194 ("orange" 255 165 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
195 ("darkorange" 255 140 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
196 ("coral" 255 127 80) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
197 ("lightcoral" 240 128 128) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
198 ("tomato" 255 99 71) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
199 ("orangered" 255 69 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
200 ("red" 255 0 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
201 ("hotpink" 255 105 180) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
202 ("deeppink" 255 20 147) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
203 ("pink" 255 192 203) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
204 ("lightpink" 255 182 193) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
205 ("palevioletred" 219 112 147) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
206 ("maroon" 176 48 96) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
207 ("mediumvioletred" 199 21 133) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
208 ("violetred" 208 32 144) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
209 ("magenta" 255 0 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
210 ("violet" 238 130 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
211 ("plum" 221 160 221) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
212 ("orchid" 218 112 214) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
213 ("mediumorchid" 186 85 211) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
214 ("darkorchid" 153 50 204) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
215 ("darkviolet" 148 0 211) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
216 ("blueviolet" 138 43 226) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
217 ("purple" 160 32 240) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
218 ("mediumpurple" 147 112 219) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
219 ("thistle" 216 191 216) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
220 ("snow1" 255 250 250) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
221 ("snow2" 238 233 233) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
222 ("snow3" 205 201 201) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
223 ("snow4" 139 137 137) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
224 ("seashell1" 255 245 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
225 ("seashell2" 238 229 222) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
226 ("seashell3" 205 197 191) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
227 ("seashell4" 139 134 130) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
228 ("antiquewhite1" 255 239 219) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
229 ("antiquewhite2" 238 223 204) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
230 ("antiquewhite3" 205 192 176) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
231 ("antiquewhite4" 139 131 120) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
232 ("bisque1" 255 228 196) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
233 ("bisque2" 238 213 183) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
234 ("bisque3" 205 183 158) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
235 ("bisque4" 139 125 107) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
236 ("peachpuff1" 255 218 185) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
237 ("peachpuff2" 238 203 173) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
238 ("peachpuff3" 205 175 149) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
239 ("peachpuff4" 139 119 101) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
240 ("navajowhite1" 255 222 173) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
241 ("navajowhite2" 238 207 161) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
242 ("navajowhite3" 205 179 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
243 ("navajowhite4" 139 121 94) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
244 ("lemonchiffon1" 255 250 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
245 ("lemonchiffon2" 238 233 191) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
246 ("lemonchiffon3" 205 201 165) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
247 ("lemonchiffon4" 139 137 112) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
248 ("cornsilk1" 255 248 220) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
249 ("cornsilk2" 238 232 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
250 ("cornsilk3" 205 200 177) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
251 ("cornsilk4" 139 136 120) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
252 ("ivory1" 255 255 240) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
253 ("ivory2" 238 238 224) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
254 ("ivory3" 205 205 193) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
255 ("ivory4" 139 139 131) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
256 ("honeydew1" 240 255 240) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
257 ("honeydew2" 224 238 224) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
258 ("honeydew3" 193 205 193) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
259 ("honeydew4" 131 139 131) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
260 ("lavenderblush1" 255 240 245) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
261 ("lavenderblush2" 238 224 229) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
262 ("lavenderblush3" 205 193 197) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
263 ("lavenderblush4" 139 131 134) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
264 ("mistyrose1" 255 228 225) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
265 ("mistyrose2" 238 213 210) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
266 ("mistyrose3" 205 183 181) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
267 ("mistyrose4" 139 125 123) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
268 ("azure1" 240 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
269 ("azure2" 224 238 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
270 ("azure3" 193 205 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
271 ("azure4" 131 139 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
272 ("slateblue1" 131 111 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
273 ("slateblue2" 122 103 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
274 ("slateblue3" 105 89 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
275 ("slateblue4" 71 60 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
276 ("royalblue1" 72 118 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
277 ("royalblue2" 67 110 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
278 ("royalblue3" 58 95 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
279 ("royalblue4" 39 64 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
280 ("blue1" 0 0 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
281 ("blue2" 0 0 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
282 ("blue3" 0 0 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
283 ("blue4" 0 0 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
284 ("dodgerblue1" 30 144 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
285 ("dodgerblue2" 28 134 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
286 ("dodgerblue3" 24 116 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
287 ("dodgerblue4" 16 78 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
288 ("steelblue1" 99 184 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
289 ("steelblue2" 92 172 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
290 ("steelblue3" 79 148 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
291 ("steelblue4" 54 100 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
292 ("deepskyblue1" 0 191 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
293 ("deepskyblue2" 0 178 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
294 ("deepskyblue3" 0 154 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
295 ("deepskyblue4" 0 104 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
296 ("skyblue1" 135 206 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
297 ("skyblue2" 126 192 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
298 ("skyblue3" 108 166 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
299 ("skyblue4" 74 112 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
300 ("lightskyblue1" 176 226 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
301 ("lightskyblue2" 164 211 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
302 ("lightskyblue3" 141 182 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
303 ("lightskyblue4" 96 123 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
304 ("slategray1" 198 226 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
305 ("slategray2" 185 211 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
306 ("slategray3" 159 182 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
307 ("slategray4" 108 123 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
308 ("lightsteelblue1" 202 225 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
309 ("lightsteelblue2" 188 210 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
310 ("lightsteelblue3" 162 181 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
311 ("lightsteelblue4" 110 123 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
312 ("lightblue1" 191 239 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
313 ("lightblue2" 178 223 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
314 ("lightblue3" 154 192 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
315 ("lightblue4" 104 131 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
316 ("lightcyan1" 224 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
317 ("lightcyan2" 209 238 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
318 ("lightcyan3" 180 205 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
319 ("lightcyan4" 122 139 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
320 ("paleturquoise1" 187 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
321 ("paleturquoise2" 174 238 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
322 ("paleturquoise3" 150 205 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
323 ("paleturquoise4" 102 139 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
324 ("cadetblue1" 152 245 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
325 ("cadetblue2" 142 229 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
326 ("cadetblue3" 122 197 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
327 ("cadetblue4" 83 134 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
328 ("turquoise1" 0 245 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
329 ("turquoise2" 0 229 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
330 ("turquoise3" 0 197 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
331 ("turquoise4" 0 134 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
332 ("cyan1" 0 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
333 ("cyan2" 0 238 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
334 ("cyan3" 0 205 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
335 ("cyan4" 0 139 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
336 ("darkslategray1" 151 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
337 ("darkslategray2" 141 238 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
338 ("darkslategray3" 121 205 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
339 ("darkslategray4" 82 139 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
340 ("aquamarine1" 127 255 212) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
341 ("aquamarine2" 118 238 198) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
342 ("aquamarine3" 102 205 170) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
343 ("aquamarine4" 69 139 116) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
344 ("darkseagreen1" 193 255 193) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
345 ("darkseagreen2" 180 238 180) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
346 ("darkseagreen3" 155 205 155) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
347 ("darkseagreen4" 105 139 105) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
348 ("seagreen1" 84 255 159) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
349 ("seagreen2" 78 238 148) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
350 ("seagreen3" 67 205 128) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
351 ("seagreen4" 46 139 87) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
352 ("palegreen1" 154 255 154) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
353 ("palegreen2" 144 238 144) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
354 ("palegreen3" 124 205 124) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
355 ("palegreen4" 84 139 84) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
356 ("springgreen1" 0 255 127) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
357 ("springgreen2" 0 238 118) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
358 ("springgreen3" 0 205 102) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
359 ("springgreen4" 0 139 69) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
360 ("green1" 0 255 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
361 ("green2" 0 238 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
362 ("green3" 0 205 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
363 ("green4" 0 139 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
364 ("chartreuse1" 127 255 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
365 ("chartreuse2" 118 238 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
366 ("chartreuse3" 102 205 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
367 ("chartreuse4" 69 139 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
368 ("olivedrab1" 192 255 62) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
369 ("olivedrab2" 179 238 58) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
370 ("olivedrab3" 154 205 50) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
371 ("olivedrab4" 105 139 34) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
372 ("darkolivegreen1" 202 255 112) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
373 ("darkolivegreen2" 188 238 104) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
374 ("darkolivegreen3" 162 205 90) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
375 ("darkolivegreen4" 110 139 61) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
376 ("khaki1" 255 246 143) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
377 ("khaki2" 238 230 133) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
378 ("khaki3" 205 198 115) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
379 ("khaki4" 139 134 78) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
380 ("lightgoldenrod1" 255 236 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
381 ("lightgoldenrod2" 238 220 130) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
382 ("lightgoldenrod3" 205 190 112) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
383 ("lightgoldenrod4" 139 129 76) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
384 ("lightyellow1" 255 255 224) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
385 ("lightyellow2" 238 238 209) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
386 ("lightyellow3" 205 205 180) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
387 ("lightyellow4" 139 139 122) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
388 ("yellow1" 255 255 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
389 ("yellow2" 238 238 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
390 ("yellow3" 205 205 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
391 ("yellow4" 139 139 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
392 ("gold1" 255 215 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
393 ("gold2" 238 201 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
394 ("gold3" 205 173 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
395 ("gold4" 139 117 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
396 ("goldenrod1" 255 193 37) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
397 ("goldenrod2" 238 180 34) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
398 ("goldenrod3" 205 155 29) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
399 ("goldenrod4" 139 105 20) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
400 ("darkgoldenrod1" 255 185 15) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
401 ("darkgoldenrod2" 238 173 14) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
402 ("darkgoldenrod3" 205 149 12) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
403 ("darkgoldenrod4" 139 101 8) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
404 ("rosybrown1" 255 193 193) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
405 ("rosybrown2" 238 180 180) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
406 ("rosybrown3" 205 155 155) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
407 ("rosybrown4" 139 105 105) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
408 ("indianred1" 255 106 106) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
409 ("indianred2" 238 99 99) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
410 ("indianred3" 205 85 85) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
411 ("indianred4" 139 58 58) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
412 ("sienna1" 255 130 71) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
413 ("sienna2" 238 121 66) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
414 ("sienna3" 205 104 57) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
415 ("sienna4" 139 71 38) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
416 ("burlywood1" 255 211 155) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
417 ("burlywood2" 238 197 145) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
418 ("burlywood3" 205 170 125) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
419 ("burlywood4" 139 115 85) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
420 ("wheat1" 255 231 186) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
421 ("wheat2" 238 216 174) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
422 ("wheat3" 205 186 150) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
423 ("wheat4" 139 126 102) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
424 ("tan1" 255 165 79) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
425 ("tan2" 238 154 73) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
426 ("tan3" 205 133 63) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
427 ("tan4" 139 90 43) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
428 ("chocolate1" 255 127 36) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
429 ("chocolate2" 238 118 33) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
430 ("chocolate3" 205 102 29) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
431 ("chocolate4" 139 69 19) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
432 ("firebrick1" 255 48 48) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
433 ("firebrick2" 238 44 44) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
434 ("firebrick3" 205 38 38) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
435 ("firebrick4" 139 26 26) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
436 ("brown1" 255 64 64) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
437 ("brown2" 238 59 59) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
438 ("brown3" 205 51 51) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
439 ("brown4" 139 35 35) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
440 ("salmon1" 255 140 105) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
441 ("salmon2" 238 130 98) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
442 ("salmon3" 205 112 84) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
443 ("salmon4" 139 76 57) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
444 ("lightsalmon1" 255 160 122) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
445 ("lightsalmon2" 238 149 114) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
446 ("lightsalmon3" 205 129 98) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
447 ("lightsalmon4" 139 87 66) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
448 ("orange1" 255 165 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
449 ("orange2" 238 154 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
450 ("orange3" 205 133 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
451 ("orange4" 139 90 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
452 ("darkorange1" 255 127 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
453 ("darkorange2" 238 118 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
454 ("darkorange3" 205 102 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
455 ("darkorange4" 139 69 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
456 ("coral1" 255 114 86) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
457 ("coral2" 238 106 80) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
458 ("coral3" 205 91 69) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
459 ("coral4" 139 62 47) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
460 ("tomato1" 255 99 71) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
461 ("tomato2" 238 92 66) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
462 ("tomato3" 205 79 57) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
463 ("tomato4" 139 54 38) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
464 ("orangered1" 255 69 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
465 ("orangered2" 238 64 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
466 ("orangered3" 205 55 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
467 ("orangered4" 139 37 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
468 ("red1" 255 0 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
469 ("red2" 238 0 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
470 ("red3" 205 0 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
471 ("red4" 139 0 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
472 ("deeppink1" 255 20 147) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
473 ("deeppink2" 238 18 137) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
474 ("deeppink3" 205 16 118) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
475 ("deeppink4" 139 10 80) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
476 ("hotpink1" 255 110 180) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
477 ("hotpink2" 238 106 167) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
478 ("hotpink3" 205 96 144) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
479 ("hotpink4" 139 58 98) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
480 ("pink1" 255 181 197) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
481 ("pink2" 238 169 184) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
482 ("pink3" 205 145 158) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
483 ("pink4" 139 99 108) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
484 ("lightpink1" 255 174 185) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
485 ("lightpink2" 238 162 173) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
486 ("lightpink3" 205 140 149) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
487 ("lightpink4" 139 95 101) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
488 ("palevioletred1" 255 130 171) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
489 ("palevioletred2" 238 121 159) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
490 ("palevioletred3" 205 104 137) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
491 ("palevioletred4" 139 71 93) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
492 ("maroon1" 255 52 179) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
493 ("maroon2" 238 48 167) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
494 ("maroon3" 205 41 144) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
495 ("maroon4" 139 28 98) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
496 ("violetred1" 255 62 150) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
497 ("violetred2" 238 58 140) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
498 ("violetred3" 205 50 120) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
499 ("violetred4" 139 34 82) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
500 ("magenta1" 255 0 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
501 ("magenta2" 238 0 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
502 ("magenta3" 205 0 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
503 ("magenta4" 139 0 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
504 ("orchid1" 255 131 250) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
505 ("orchid2" 238 122 233) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
506 ("orchid3" 205 105 201) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
507 ("orchid4" 139 71 137) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
508 ("plum1" 255 187 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
509 ("plum2" 238 174 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
510 ("plum3" 205 150 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
511 ("plum4" 139 102 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
512 ("mediumorchid1" 224 102 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
513 ("mediumorchid2" 209 95 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
514 ("mediumorchid3" 180 82 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
515 ("mediumorchid4" 122 55 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
516 ("darkorchid1" 191 62 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
517 ("darkorchid2" 178 58 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
518 ("darkorchid3" 154 50 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
519 ("darkorchid4" 104 34 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
520 ("purple1" 155 48 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
521 ("purple2" 145 44 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
522 ("purple3" 125 38 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
523 ("purple4" 85 26 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
524 ("mediumpurple1" 171 130 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
525 ("mediumpurple2" 159 121 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
526 ("mediumpurple3" 137 104 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
527 ("mediumpurple4" 93 71 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
528 ("thistle1" 255 225 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
529 ("thistle2" 238 210 238) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
530 ("thistle3" 205 181 205) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
531 ("thistle4" 139 123 139) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
532 ("gray0" 0 0 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
533 ("grey0" 0 0 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
534 ("gray1" 3 3 3) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
535 ("grey1" 3 3 3) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
536 ("gray2" 5 5 5) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
537 ("grey2" 5 5 5) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
538 ("gray3" 8 8 8) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
539 ("grey3" 8 8 8) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
540 ("gray4" 10 10 10) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
541 ("grey4" 10 10 10) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
542 ("gray5" 13 13 13) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
543 ("grey5" 13 13 13) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
544 ("gray6" 15 15 15) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
545 ("grey6" 15 15 15) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
546 ("gray7" 18 18 18) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
547 ("grey7" 18 18 18) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
548 ("gray8" 20 20 20) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
549 ("grey8" 20 20 20) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
550 ("gray9" 23 23 23) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
551 ("grey9" 23 23 23) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
552 ("gray10" 26 26 26) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
553 ("grey10" 26 26 26) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
554 ("gray11" 28 28 28) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
555 ("grey11" 28 28 28) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
556 ("gray12" 31 31 31) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
557 ("grey12" 31 31 31) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
558 ("gray13" 33 33 33) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
559 ("grey13" 33 33 33) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
560 ("gray14" 36 36 36) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
561 ("grey14" 36 36 36) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
562 ("gray15" 38 38 38) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
563 ("grey15" 38 38 38) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
564 ("gray16" 41 41 41) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
565 ("grey16" 41 41 41) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
566 ("gray17" 43 43 43) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
567 ("grey17" 43 43 43) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
568 ("gray18" 46 46 46) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
569 ("grey18" 46 46 46) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
570 ("gray19" 48 48 48) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
571 ("grey19" 48 48 48) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
572 ("gray20" 51 51 51) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
573 ("grey20" 51 51 51) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
574 ("gray21" 54 54 54) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
575 ("grey21" 54 54 54) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
576 ("gray22" 56 56 56) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
577 ("grey22" 56 56 56) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
578 ("gray23" 59 59 59) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
579 ("grey23" 59 59 59) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
580 ("gray24" 61 61 61) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
581 ("grey24" 61 61 61) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
582 ("gray25" 64 64 64) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
583 ("grey25" 64 64 64) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
584 ("gray26" 66 66 66) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
585 ("grey26" 66 66 66) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
586 ("gray27" 69 69 69) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
587 ("grey27" 69 69 69) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
588 ("gray28" 71 71 71) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
589 ("grey28" 71 71 71) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
590 ("gray29" 74 74 74) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
591 ("grey29" 74 74 74) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
592 ("gray30" 77 77 77) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
593 ("grey30" 77 77 77) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
594 ("gray31" 79 79 79) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
595 ("grey31" 79 79 79) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
596 ("gray32" 82 82 82) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
597 ("grey32" 82 82 82) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
598 ("gray33" 84 84 84) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
599 ("grey33" 84 84 84) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
600 ("gray34" 87 87 87) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
601 ("grey34" 87 87 87) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
602 ("gray35" 89 89 89) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
603 ("grey35" 89 89 89) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
604 ("gray36" 92 92 92) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
605 ("grey36" 92 92 92) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
606 ("gray37" 94 94 94) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
607 ("grey37" 94 94 94) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
608 ("gray38" 97 97 97) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
609 ("grey38" 97 97 97) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
610 ("gray39" 99 99 99) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
611 ("grey39" 99 99 99) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
612 ("gray40" 102 102 102) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
613 ("grey40" 102 102 102) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
614 ("gray41" 105 105 105) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
615 ("grey41" 105 105 105) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
616 ("gray42" 107 107 107) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
617 ("grey42" 107 107 107) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
618 ("gray43" 110 110 110) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
619 ("grey43" 110 110 110) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
620 ("gray44" 112 112 112) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
621 ("grey44" 112 112 112) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
622 ("gray45" 115 115 115) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
623 ("grey45" 115 115 115) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
624 ("gray46" 117 117 117) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
625 ("grey46" 117 117 117) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
626 ("gray47" 120 120 120) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
627 ("grey47" 120 120 120) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
628 ("gray48" 122 122 122) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
629 ("grey48" 122 122 122) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
630 ("gray49" 125 125 125) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
631 ("grey49" 125 125 125) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
632 ("gray50" 127 127 127) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
633 ("grey50" 127 127 127) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
634 ("gray51" 130 130 130) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
635 ("grey51" 130 130 130) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
636 ("gray52" 133 133 133) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
637 ("grey52" 133 133 133) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
638 ("gray53" 135 135 135) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
639 ("grey53" 135 135 135) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
640 ("gray54" 138 138 138) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
641 ("grey54" 138 138 138) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
642 ("gray55" 140 140 140) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
643 ("grey55" 140 140 140) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
644 ("gray56" 143 143 143) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
645 ("grey56" 143 143 143) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
646 ("gray57" 145 145 145) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
647 ("grey57" 145 145 145) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
648 ("gray58" 148 148 148) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
649 ("grey58" 148 148 148) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
650 ("gray59" 150 150 150) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
651 ("grey59" 150 150 150) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
652 ("gray60" 153 153 153) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
653 ("grey60" 153 153 153) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
654 ("gray61" 156 156 156) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
655 ("grey61" 156 156 156) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
656 ("gray62" 158 158 158) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
657 ("grey62" 158 158 158) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
658 ("gray63" 161 161 161) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
659 ("grey63" 161 161 161) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
660 ("gray64" 163 163 163) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
661 ("grey64" 163 163 163) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
662 ("gray65" 166 166 166) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
663 ("grey65" 166 166 166) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
664 ("gray66" 168 168 168) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
665 ("grey66" 168 168 168) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
666 ("gray67" 171 171 171) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
667 ("grey67" 171 171 171) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
668 ("gray68" 173 173 173) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
669 ("grey68" 173 173 173) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
670 ("gray69" 176 176 176) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
671 ("grey69" 176 176 176) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
672 ("gray70" 179 179 179) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
673 ("grey70" 179 179 179) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
674 ("gray71" 181 181 181) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
675 ("grey71" 181 181 181) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
676 ("gray72" 184 184 184) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
677 ("grey72" 184 184 184) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
678 ("gray73" 186 186 186) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
679 ("grey73" 186 186 186) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
680 ("gray74" 189 189 189) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
681 ("grey74" 189 189 189) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
682 ("gray75" 191 191 191) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
683 ("grey75" 191 191 191) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
684 ("gray76" 194 194 194) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
685 ("grey76" 194 194 194) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
686 ("gray77" 196 196 196) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
687 ("grey77" 196 196 196) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
688 ("gray78" 199 199 199) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
689 ("grey78" 199 199 199) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
690 ("gray79" 201 201 201) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
691 ("grey79" 201 201 201) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
692 ("gray80" 204 204 204) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
693 ("grey80" 204 204 204) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
694 ("gray81" 207 207 207) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
695 ("grey81" 207 207 207) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
696 ("gray82" 209 209 209) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
697 ("grey82" 209 209 209) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
698 ("gray83" 212 212 212) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
699 ("grey83" 212 212 212) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
700 ("gray84" 214 214 214) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
701 ("grey84" 214 214 214) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
702 ("gray85" 217 217 217) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
703 ("grey85" 217 217 217) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
704 ("gray86" 219 219 219) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
705 ("grey86" 219 219 219) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
706 ("gray87" 222 222 222) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
707 ("grey87" 222 222 222) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
708 ("gray88" 224 224 224) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
709 ("grey88" 224 224 224) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
710 ("gray89" 227 227 227) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
711 ("grey89" 227 227 227) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
712 ("gray90" 229 229 229) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
713 ("grey90" 229 229 229) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
714 ("gray91" 232 232 232) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
715 ("grey91" 232 232 232) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
716 ("gray92" 235 235 235) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
717 ("grey92" 235 235 235) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
718 ("gray93" 237 237 237) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
719 ("grey93" 237 237 237) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
720 ("gray94" 240 240 240) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
721 ("grey94" 240 240 240) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
722 ("gray95" 242 242 242) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
723 ("grey95" 242 242 242) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
724 ("gray96" 245 245 245) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
725 ("grey96" 245 245 245) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
726 ("gray97" 247 247 247) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
727 ("grey97" 247 247 247) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
728 ("gray98" 250 250 250) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
729 ("grey98" 250 250 250) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
730 ("gray99" 252 252 252) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
731 ("grey99" 252 252 252) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
732 ("gray100" 255 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
733 ("grey100" 255 255 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
734 ("darkgrey" 169 169 169) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
735 ("darkgray" 169 169 169) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
736 ("darkblue" 0 0 139) |
32647
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
737 ("darkcyan" 0 139 139) ; no "lightmagenta", see the comment above |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
738 ("darkmagenta" 139 0 139) |
32647
75b63082831b
(color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents:
27569
diff
changeset
|
739 ("darkred" 139 0 0) ; but no "lightred", see the comment above |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
740 ("lightgreen" 144 238 144)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
741 "An alist of X color names and associated 8-bit RGB values.") |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
742 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
743 (defvar tty-standard-colors |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
744 '(("white" 7 65535 65535 65535) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
745 ("cyan" 6 0 65535 65535) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
746 ("magenta" 5 65535 0 65535) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
747 ("blue" 4 0 0 65535) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
748 ("yellow" 3 65535 65535 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
749 ("green" 2 0 65535 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
750 ("red" 1 65535 0 0) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
751 ("black" 0 0 0 0)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
752 "An alist of 8 standard tty colors, their indices and RGB values.") |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
753 |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
754 (defvar tty-defined-color-alist nil |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
755 "An alist of defined terminal colors and their RGB values. |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
756 |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
757 See the docstring of `tty-color-alist' for the details.") |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
758 |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
759 (defun tty-color-alist (&optional frame) |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
760 "Return an alist of colors supported by FRAME's terminal. |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
761 FRAME defaults to the selected frame. |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
762 Each element of the returned alist is of the form: |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
763 \(NAME INDEX R G B\) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
764 where NAME is the name of the color, a string; |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
765 INDEX is the index of this color to be sent to the terminal driver |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
766 when the color should be displayed; it is typically a small integer; |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
767 R, G, and B are the intensities of, accordingly, red, green, and blue |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
768 components of the color, represented as numbers between 0 and 65535. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
769 The file `etc/rgb.txt' in the Emacs distribution lists the standard |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
770 RGB values of the X colors. If RGB is nil, this color will not be |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
771 considered by `tty-color-translate' as an approximation to another |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
772 color." |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
773 tty-defined-color-alist) |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
774 |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
775 (defun tty-modify-color-alist (elt &optional frame) |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
776 "Put the association ELT int the alist of terminal colors for FRAME. |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
777 ELT should be of the form \(NAME INDEX R G B\) (see `tty-color-alist' |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
778 for details). |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
779 If FRAME is unspecified or nil, it defaults to the selected frame. |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
780 Value is the modified color alist for FRAME." |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
781 (let* ((entry (assoc (car elt) (tty-color-alist frame)))) |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
782 (if entry |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
783 (setcdr entry (cdr elt)) |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
784 (setq tty-defined-color-alist (cons elt tty-defined-color-alist))) |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
785 tty-defined-color-alist)) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
786 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
787 (defun tty-color-canonicalize (color) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
788 "Return COLOR in canonical form. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
789 A canonicalized color name is all-lower case, with any blanks removed." |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
790 (let ((color (downcase color))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
791 (while (string-match " +" color) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
792 (setq color (replace-match "" nil nil color))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
793 color)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
794 |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
795 (defun tty-color-define (name index &optional rgb frame) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
796 "Specify a tty color by its NAME, terminal INDEX and RGB values. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
797 NAME is a string, INDEX is typically a small integer used to send to |
37515
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
798 the terminal driver a command to switch this color on, and RGB is a |
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
799 list of 3 numbers that specify the intensity of red, green, and blue |
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
800 components of the color. |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
801 If specified, each one of the RGB components must be a number between |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
802 0 and 65535. If RGB is omitted, the specified color will never be used |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
803 by `tty-color-translate' as an approximation to another color. |
37515
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
804 FRAME is the frame where the defined color should be used. |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
805 If FRAME is not specified or is nil, it defaults to the selected frame." |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
806 (if (or (not (stringp name)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
807 (not (integerp index)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
808 (and rgb (or (not (listp rgb)) (/= (length rgb) 3)))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
809 (error "Invalid specification for tty color \"%s\"" name)) |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
810 (tty-modify-color-alist |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
811 (append (list (tty-color-canonicalize name) index) rgb) frame)) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
812 |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
813 (defun tty-color-clear (&optional frame) |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
814 "Clear the list of supported tty colors for frame FRAME. |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
815 If FRAME is unspecified or nil, it defaults to the selected frame." |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
816 (setq tty-defined-color-alist nil)) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
817 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
818 (defun tty-color-off-gray-diag (r g b) |
37515
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
819 "Compute the angle between the color given by R,G,B and the gray diagonal. |
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
820 The gray diagonal is the diagonal of the 3D cube in RGB space which |
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
821 connects the points corresponding to the black and white colors. All the |
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
822 colors whose RGB coordinates belong to this diagonal are various shades |
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
823 of gray, thus the name." |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
824 (let ((mag (sqrt (* 3 (+ (* r r) (* g g) (* b b)))))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
825 (if (< mag 1) 0 (acos (/ (+ r g b) mag))))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
826 |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
827 (defun tty-color-approximate (rgb &optional frame) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
828 "Given a list of 3 rgb values in RGB, find the color in `tty-color-alist' |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
829 which is the best approximation in the 3-dimensional RGB space, |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
830 and return the index associated with the approximating color. |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
831 Each value of the RGB triplet has to be scaled to the 0..255 range. |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
832 FRAME defaults to the selected frame." |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
833 (let* ((color-list (tty-color-alist frame)) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
834 (candidate (car color-list)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
835 (best-distance 195076) ;; 3 * 255^2 + 15 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
836 best-color) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
837 (while candidate |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
838 (let* ((try-rgb (cddr candidate)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
839 (r (car rgb)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
840 (g (cadr rgb)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
841 (b (nth 2 rgb)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
842 ;; If the approximated color is not close enough to the |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
843 ;; gray diagonal of the RGB cube, favor non-gray colors. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
844 ;; (The number 0.065 is an empirical ad-hoc'ery.) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
845 (favor-non-gray (>= (tty-color-off-gray-diag r g b) 0.065)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
846 try-r try-g try-b |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
847 dif-r dif-g dif-b dist) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
848 ;; If the RGB values of the candidate color are unknown, we |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
849 ;; never consider it for approximating another color. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
850 (if try-rgb |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
851 (progn |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
852 (setq try-r (lsh (car try-rgb) -8) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
853 try-g (lsh (cadr try-rgb) -8) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
854 try-b (lsh (nth 2 try-rgb) -8)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
855 (setq dif-r (- (car rgb) try-r) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
856 dif-g (- (cadr rgb) try-g) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
857 dif-b (- (nth 2 rgb) try-b)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
858 (setq dist (+ (* dif-r dif-r) (* dif-g dif-g) (* dif-b dif-b))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
859 (if (and (< dist best-distance) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
860 ;; The candidate color is on the gray diagonal |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
861 ;; if its RGB components are all equal. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
862 (or (/= try-r try-g) (/= try-g try-b) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
863 (not favor-non-gray))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
864 (setq best-distance dist |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
865 best-color candidate))))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
866 (setq color-list (cdr color-list)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
867 (setq candidate (car color-list))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
868 (cadr best-color))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
869 |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
870 (defun tty-color-translate (color &optional frame) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
871 "Given a color COLOR, return the index of the corresponding TTY color. |
37515
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
872 |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
873 COLOR must be a string that is either the color's name, or its X-style |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
874 specification like \"#RRGGBB\" or \"RGB:rr/gg/bb\", where each primary. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
875 color can be given with 1 to 4 hex digits. |
37515
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
876 |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
877 If COLOR is a color name that is found among supported colors in |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
878 `tty-color-alist', the associated index is returned. Otherwise, the |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
879 RGB values of the color, either as given by the argument or from |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
880 looking up the name in `color-name-rgb-alist', are used to find the |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
881 supported color that is the best approximation for COLOR in the RGB |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
882 space. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
883 If COLOR is neither a valid X RGB specification of the color, nor a |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
884 name of a color in `color-name-rgb-alist', the returned value is nil. |
37515
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
885 |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
886 If FRAME is unspecified or nil, it defaults to the selected frame." |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
887 (and (stringp color) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
888 (let* ((color (tty-color-canonicalize color)) |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
889 (idx (cadr (assoc color (tty-color-alist frame))))) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
890 (or idx |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
891 (let* ((len (length color)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
892 (maxval 256) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
893 (rgb |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
894 (cond |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
895 ((and (>= len 4) ;; X-style "#XXYYZZ" color spec |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
896 (eq (aref color 0) ?#) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
897 (member (aref color 1) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
898 '(?0 ?1 ?2 ?3 ?4 ?5 ?6 ?7 ?8 ?9 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
899 ?a ?b ?c ?d ?e ?f))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
900 ;; Translate the string "#XXYYZZ" into a list |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
901 ;; of numbers (XX YY ZZ). If the primary colors |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
902 ;; are specified with less than 4 hex digits, |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
903 ;; the used digits represent the most significant |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
904 ;; bits of the value (e.g. #XYZ = #X000Y000Z000). |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
905 (let* ((ndig (/ (- len 1) 3)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
906 (i1 1) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
907 (i2 (+ i1 ndig)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
908 (i3 (+ i2 ndig))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
909 (list |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
910 (lsh |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
911 (string-to-number (substring color i1 i2) 16) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
912 (* 4 (- 2 ndig))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
913 (lsh |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
914 (string-to-number (substring color i2 i3) 16) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
915 (* 4 (- 2 ndig))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
916 (lsh |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
917 (string-to-number (substring color i3) 16) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
918 (* 4 (- 2 ndig)))))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
919 ((and (>= len 9) ;; X-style RGB:xx/yy/zz color spec |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
920 (string= (substring color 0 4) "rgb:")) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
921 ;; Translate the string "RGB:XX/YY/ZZ" into a list |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
922 ;; of numbers (XX YY ZZ). If fewer than 4 hex |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
923 ;; digits are used, they represent the fraction |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
924 ;; of the maximum value (RGB:X/Y/Z = #XXXXYYYYZZZZ). |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
925 (let* ((ndig (/ (- len 3) 3)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
926 (maxval (1- (expt 16 (- ndig 1)))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
927 (i1 4) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
928 (i2 (+ i1 ndig)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
929 (i3 (+ i2 ndig))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
930 (list |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
931 (/ (* (string-to-number |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
932 (substring color i1 (- i2 1)) 16) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
933 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
934 maxval) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
935 (/ (* (string-to-number |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
936 (substring color i2 (- i3 1)) 16) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
937 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
938 maxval) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
939 (/ (* (string-to-number |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
940 (substring color i3) 16) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
941 255) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
942 maxval)))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
943 (t |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
944 (cdr (assoc color color-name-rgb-alist)))))) |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
945 (and rgb (tty-color-approximate rgb frame))))))) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
946 |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
947 (defun tty-color-by-index (idx &optional frame) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
948 "Given a numeric index of a tty color, return its description. |
37515
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
949 |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
950 FRAME, if unspecified or nil, defaults to the selected frame. |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
951 Value is a list of the form \(NAME INDEX R G B\)." |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
952 (and idx |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
953 (let ((colors (tty-color-alist frame)) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
954 desc found) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
955 (while colors |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
956 (setq desc (car colors)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
957 (if (eq idx (car (cdr desc))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
958 (setq found desc)) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
959 (setq colors (cdr colors))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
960 found))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
961 |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
962 (defun tty-color-values (color &optional frame) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
963 "Return RGB values of the color COLOR on a termcap frame FRAME. |
37515
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
964 |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
965 If COLOR is not directly supported by the display, return the RGB |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
966 values for a supported color that is its best approximation. |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
967 The value is a list of integer RGB values--\(RED GREEN BLUE\). |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
968 These values range from 0 to 65535; white is (65535 65535 65535). |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
969 If FRAME is omitted or nil, use the selected frame." |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
970 (let* ((frame (or frame (selected-frame))) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
971 (color (tty-color-canonicalize color)) |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
972 (supported (assoc color (tty-color-alist frame)))) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
973 (or (and supported (cddr supported)) ; full spec in tty-color-alist |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
974 (and supported ; no RGB values in tty-color-alist: use X RGB values |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
975 (assoc color color-name-rgb-alist) |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
976 (cddr |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
977 (tty-color-by-index |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
978 (tty-color-approximate |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
979 (cdr (assoc color color-name-rgb-alist)) frame) frame))) |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
980 (cddr (tty-color-by-index (tty-color-translate color frame) frame))))) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
981 |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
982 (defun tty-color-desc (color &optional frame) |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
983 "Return the description of the color COLOR for a character terminal. |
37515
c711f0627837
(tty-color-define, tty-color-off-gray-diag)
Eli Zaretskii <eliz@gnu.org>
parents:
32647
diff
changeset
|
984 |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
985 FRAME, if unspecified or nil, defaults to the selected frame. |
26736
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
986 Value is a list of the form \(NAME INDEX R G B\). Note that the returned |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
987 NAME is not necessarily the same string as the argument COLOR, because |
a0674327c167
Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
988 the latter might need to be approximated if it is not supported directly." |
27089
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
989 (let ((idx (tty-color-translate color frame))) |
5d4d3f1ba0cc
(tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents:
26736
diff
changeset
|
990 (tty-color-by-index idx frame))) |
27568
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
991 |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
992 (defun tty-color-gray-shades (&optional display) |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
993 "Return the number of gray colors supported by DISPLAY's terminal. |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
994 A color is considered gray if the 3 components of its RGB value are equal." |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
995 (let* ((frame (if (framep display) display |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
996 ;; FIXME: this uses an arbitrary frame from DISPLAY! |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
997 (car (frames-on-display-list display)))) |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
998 (colors (tty-color-alist frame)) |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
999 (count 0) |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
1000 desc r g b) |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
1001 (while colors |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
1002 (setq desc (cddr (car colors)) |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
1003 r (car desc) |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
1004 g (cadr desc) |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
1005 b (car (cddr desc))) |
27569
c34a61cbfbf6
Don't count colors without RGB values as gray shades.
Eli Zaretskii <eliz@gnu.org>
parents:
27568
diff
changeset
|
1006 (and (numberp r) |
c34a61cbfbf6
Don't count colors without RGB values as gray shades.
Eli Zaretskii <eliz@gnu.org>
parents:
27568
diff
changeset
|
1007 (eq r g) (eq g b) |
27568
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
1008 (setq count (1+ count))) |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
1009 (setq colors (cdr colors))) |
fd817cff1000
(tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents:
27089
diff
changeset
|
1010 count)) |