annotate lisp/term/tty-colors.el @ 64857:deebf79b94bc

Add W32-specific issues.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 09 Aug 2005 15:26:52 +0000
parents 34bd8e434dd7
children 79547d3c563f edf295560b5a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38340
7904e11622c7 Fix the header line and the copyright years.
Eli Zaretskii <eliz@gnu.org>
parents: 37515
diff changeset
1 ;;; tty-colors.el --- color support for character terminals
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2
64701
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64084
diff changeset
3 ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64084
diff changeset
4 ;; 2005 Free Software Foundation, Inc.
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5
54707
3ae050b13a3c Remove my incorrect email address.
Eli Zaretskii <eliz@gnu.org>
parents: 52401
diff changeset
6 ;; Author: Eli Zaretskii
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7 ;; Maintainer: FSF
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8 ;; Keywords: terminals, faces
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10 ;; 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
11
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 ;; 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
13 ;; 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
14 ;; 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
15 ;; any later version.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17 ;; 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
18 ;; 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
19 ;; 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
20 ;; 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
21
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 ;; 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
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
64084
a8fa7c632ee4 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62249
diff changeset
24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
a8fa7c632ee4 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62249
diff changeset
25 ;; Boston, MA 02110-1301, USA.
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27 ;;; Commentary:
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29 ;; 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
30 ;; 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
31 ;; 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
32 ;; 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
33 ;; values, etc.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35 ;; 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
36 ;; 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
37 ;; 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
38
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39 ;; 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
40 ;; 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
41 ;; 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
42 ;; 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
43 ;; 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
44 ;; 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
45 ;; 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
46 ;; `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
47 ;; 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
48 ;; 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
49 ;; 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
50 ;; 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
51 ;; color.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
52
32647
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
53 ;; `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
54 ;; 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
55 ;; 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
56 ;; 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
57 ;; 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
58 ;; 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
59 ;; `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
60 ;; 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
61 ;; 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
62
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
63 ;;; Code:
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
64
32647
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
65 ;; 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
66 ;;
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
67 ;; 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
68 ;; 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
69 ;; 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
70 ;; 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
71 ;; 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
72 ;; 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
73 ;; 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
74 ;; 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
75 ;;
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
76 ;; 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
77 ;; 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
78 ;; 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
79 ;;
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
80 ;; 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
81 ;; 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
82 ;; 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
83 ;; "blue1", respectively.
45716
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
84 ;;
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
85 ;; Note: the RGB values below are in the range 0-65535, but are derived
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
86 ;; from the standard 8-bit X definitions (so the upper and lower bytes
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
87 ;; of each value are actually identical).
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
88 ;;
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
89 (defvar color-name-rgb-alist
45716
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
90 '(("snow" 65535 64250 64250)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
91 ("ghostwhite" 63736 63736 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
92 ("whitesmoke" 62965 62965 62965)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
93 ("gainsboro" 56540 56540 56540)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
94 ("floralwhite" 65535 64250 61680)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
95 ("oldlace" 65021 62965 59110)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
96 ("linen" 64250 61680 59110)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
97 ("antiquewhite" 64250 60395 55255)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
98 ("papayawhip" 65535 61423 54741)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
99 ("blanchedalmond" 65535 60395 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
100 ("bisque" 65535 58596 50372)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
101 ("peachpuff" 65535 56026 47545)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
102 ("navajowhite" 65535 57054 44461)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
103 ("moccasin" 65535 58596 46517)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
104 ("cornsilk" 65535 63736 56540)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
105 ("ivory" 65535 65535 61680)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
106 ("lemonchiffon" 65535 64250 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
107 ("seashell" 65535 62965 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
108 ("honeydew" 61680 65535 61680)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
109 ("mintcream" 62965 65535 64250)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
110 ("azure" 61680 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
111 ("aliceblue" 61680 63736 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
112 ("lavender" 59110 59110 64250)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
113 ("lavenderblush" 65535 61680 62965)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
114 ("mistyrose" 65535 58596 57825)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
115 ("white" 65535 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
116 ("black" 0 0 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
117 ("darkslategray" 12079 20303 20303)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
118 ("darkslategrey" 12079 20303 20303)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
119 ("dimgray" 26985 26985 26985)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
120 ("dimgrey" 26985 26985 26985)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
121 ("slategray" 28784 32896 37008)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
122 ("slategrey" 28784 32896 37008)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
123 ("lightslategray" 30583 34952 39321)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
124 ("lightslategrey" 30583 34952 39321)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
125 ("gray" 48830 48830 48830)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
126 ("grey" 48830 48830 48830)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
127 ("lightgrey" 54227 54227 54227)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
128 ("lightgray" 54227 54227 54227)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
129 ("midnightblue" 6425 6425 28784)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
130 ("navy" 0 0 32896)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
131 ("navyblue" 0 0 32896)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
132 ("cornflowerblue" 25700 38293 60909)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
133 ("darkslateblue" 18504 15677 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
134 ("slateblue" 27242 23130 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
135 ("mediumslateblue" 31611 26728 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
136 ("lightslateblue" 33924 28784 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
137 ("mediumblue" 0 0 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
138 ("royalblue" 16705 26985 57825)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
139 ("blue" 0 0 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
140 ("dodgerblue" 7710 37008 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
141 ("deepskyblue" 0 49087 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
142 ("skyblue" 34695 52942 60395)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
143 ("lightskyblue" 34695 52942 64250)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
144 ("steelblue" 17990 33410 46260)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
145 ("lightsteelblue" 45232 50372 57054)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
146 ("lightblue" 44461 55512 59110)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
147 ("powderblue" 45232 57568 59110)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
148 ("paleturquoise" 44975 61166 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
149 ("darkturquoise" 0 52942 53713)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
150 ("mediumturquoise" 18504 53713 52428)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
151 ("turquoise" 16448 57568 53456)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
152 ("cyan" 0 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
153 ("lightcyan" 57568 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
154 ("cadetblue" 24415 40606 41120)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
155 ("mediumaquamarine" 26214 52685 43690)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
156 ("aquamarine" 32639 65535 54484)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
157 ("darkgreen" 0 25700 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
158 ("darkolivegreen" 21845 27499 12079)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
159 ("darkseagreen" 36751 48316 36751)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
160 ("seagreen" 11822 35723 22359)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
161 ("mediumseagreen" 15420 46003 29041)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
162 ("lightseagreen" 8224 45746 43690)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
163 ("palegreen" 39064 64507 39064)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
164 ("springgreen" 0 65535 32639)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
165 ("lawngreen" 31868 64764 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
166 ("green" 0 65535 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
167 ("chartreuse" 32639 65535 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
168 ("mediumspringgreen" 0 64250 39578)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
169 ("greenyellow" 44461 65535 12079)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
170 ("limegreen" 12850 52685 12850)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
171 ("yellowgreen" 39578 52685 12850)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
172 ("forestgreen" 8738 35723 8738)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
173 ("olivedrab" 27499 36494 8995)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
174 ("darkkhaki" 48573 47031 27499)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
175 ("khaki" 61680 59110 35980)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
176 ("palegoldenrod" 61166 59624 43690)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
177 ("lightgoldenrodyellow" 64250 64250 53970)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
178 ("lightyellow" 65535 65535 57568)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
179 ("yellow" 65535 65535 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
180 ("gold" 65535 55255 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
181 ("lightgoldenrod" 61166 56797 33410)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
182 ("goldenrod" 56026 42405 8224)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
183 ("darkgoldenrod" 47288 34438 2827)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
184 ("rosybrown" 48316 36751 36751)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
185 ("indianred" 52685 23644 23644)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
186 ("saddlebrown" 35723 17733 4883)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
187 ("sienna" 41120 21074 11565)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
188 ("peru" 52685 34181 16191)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
189 ("burlywood" 57054 47288 34695)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
190 ("beige" 62965 62965 56540)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
191 ("wheat" 62965 57054 46003)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
192 ("sandybrown" 62708 42148 24672)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
193 ("tan" 53970 46260 35980)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
194 ("chocolate" 53970 26985 7710)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
195 ("firebrick" 45746 8738 8738)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
196 ("brown" 42405 10794 10794)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
197 ("darksalmon" 59881 38550 31354)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
198 ("salmon" 64250 32896 29298)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
199 ("lightsalmon" 65535 41120 31354)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
200 ("orange" 65535 42405 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
201 ("darkorange" 65535 35980 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
202 ("coral" 65535 32639 20560)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
203 ("lightcoral" 61680 32896 32896)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
204 ("tomato" 65535 25443 18247)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
205 ("orangered" 65535 17733 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
206 ("red" 65535 0 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
207 ("hotpink" 65535 26985 46260)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
208 ("deeppink" 65535 5140 37779)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
209 ("pink" 65535 49344 52171)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
210 ("lightpink" 65535 46774 49601)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
211 ("palevioletred" 56283 28784 37779)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
212 ("maroon" 45232 12336 24672)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
213 ("mediumvioletred" 51143 5397 34181)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
214 ("violetred" 53456 8224 37008)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
215 ("magenta" 65535 0 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
216 ("violet" 61166 33410 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
217 ("plum" 56797 41120 56797)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
218 ("orchid" 56026 28784 54998)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
219 ("mediumorchid" 47802 21845 54227)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
220 ("darkorchid" 39321 12850 52428)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
221 ("darkviolet" 38036 0 54227)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
222 ("blueviolet" 35466 11051 58082)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
223 ("purple" 41120 8224 61680)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
224 ("mediumpurple" 37779 28784 56283)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
225 ("thistle" 55512 49087 55512)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
226 ("snow1" 65535 64250 64250)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
227 ("snow2" 61166 59881 59881)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
228 ("snow3" 52685 51657 51657)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
229 ("snow4" 35723 35209 35209)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
230 ("seashell1" 65535 62965 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
231 ("seashell2" 61166 58853 57054)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
232 ("seashell3" 52685 50629 49087)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
233 ("seashell4" 35723 34438 33410)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
234 ("antiquewhite1" 65535 61423 56283)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
235 ("antiquewhite2" 61166 57311 52428)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
236 ("antiquewhite3" 52685 49344 45232)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
237 ("antiquewhite4" 35723 33667 30840)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
238 ("bisque1" 65535 58596 50372)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
239 ("bisque2" 61166 54741 47031)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
240 ("bisque3" 52685 47031 40606)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
241 ("bisque4" 35723 32125 27499)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
242 ("peachpuff1" 65535 56026 47545)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
243 ("peachpuff2" 61166 52171 44461)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
244 ("peachpuff3" 52685 44975 38293)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
245 ("peachpuff4" 35723 30583 25957)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
246 ("navajowhite1" 65535 57054 44461)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
247 ("navajowhite2" 61166 53199 41377)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
248 ("navajowhite3" 52685 46003 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
249 ("navajowhite4" 35723 31097 24158)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
250 ("lemonchiffon1" 65535 64250 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
251 ("lemonchiffon2" 61166 59881 49087)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
252 ("lemonchiffon3" 52685 51657 42405)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
253 ("lemonchiffon4" 35723 35209 28784)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
254 ("cornsilk1" 65535 63736 56540)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
255 ("cornsilk2" 61166 59624 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
256 ("cornsilk3" 52685 51400 45489)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
257 ("cornsilk4" 35723 34952 30840)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
258 ("ivory1" 65535 65535 61680)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
259 ("ivory2" 61166 61166 57568)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
260 ("ivory3" 52685 52685 49601)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
261 ("ivory4" 35723 35723 33667)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
262 ("honeydew1" 61680 65535 61680)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
263 ("honeydew2" 57568 61166 57568)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
264 ("honeydew3" 49601 52685 49601)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
265 ("honeydew4" 33667 35723 33667)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
266 ("lavenderblush1" 65535 61680 62965)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
267 ("lavenderblush2" 61166 57568 58853)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
268 ("lavenderblush3" 52685 49601 50629)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
269 ("lavenderblush4" 35723 33667 34438)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
270 ("mistyrose1" 65535 58596 57825)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
271 ("mistyrose2" 61166 54741 53970)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
272 ("mistyrose3" 52685 47031 46517)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
273 ("mistyrose4" 35723 32125 31611)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
274 ("azure1" 61680 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
275 ("azure2" 57568 61166 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
276 ("azure3" 49601 52685 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
277 ("azure4" 33667 35723 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
278 ("slateblue1" 33667 28527 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
279 ("slateblue2" 31354 26471 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
280 ("slateblue3" 26985 22873 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
281 ("slateblue4" 18247 15420 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
282 ("royalblue1" 18504 30326 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
283 ("royalblue2" 17219 28270 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
284 ("royalblue3" 14906 24415 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
285 ("royalblue4" 10023 16448 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
286 ("blue1" 0 0 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
287 ("blue2" 0 0 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
288 ("blue3" 0 0 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
289 ("blue4" 0 0 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
290 ("dodgerblue1" 7710 37008 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
291 ("dodgerblue2" 7196 34438 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
292 ("dodgerblue3" 6168 29812 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
293 ("dodgerblue4" 4112 20046 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
294 ("steelblue1" 25443 47288 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
295 ("steelblue2" 23644 44204 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
296 ("steelblue3" 20303 38036 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
297 ("steelblue4" 13878 25700 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
298 ("deepskyblue1" 0 49087 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
299 ("deepskyblue2" 0 45746 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
300 ("deepskyblue3" 0 39578 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
301 ("deepskyblue4" 0 26728 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
302 ("skyblue1" 34695 52942 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
303 ("skyblue2" 32382 49344 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
304 ("skyblue3" 27756 42662 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
305 ("skyblue4" 19018 28784 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
306 ("lightskyblue1" 45232 58082 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
307 ("lightskyblue2" 42148 54227 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
308 ("lightskyblue3" 36237 46774 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
309 ("lightskyblue4" 24672 31611 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
310 ("slategray1" 50886 58082 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
311 ("slategray2" 47545 54227 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
312 ("slategray3" 40863 46774 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
313 ("slategray4" 27756 31611 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
314 ("lightsteelblue1" 51914 57825 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
315 ("lightsteelblue2" 48316 53970 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
316 ("lightsteelblue3" 41634 46517 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
317 ("lightsteelblue4" 28270 31611 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
318 ("lightblue1" 49087 61423 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
319 ("lightblue2" 45746 57311 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
320 ("lightblue3" 39578 49344 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
321 ("lightblue4" 26728 33667 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
322 ("lightcyan1" 57568 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
323 ("lightcyan2" 53713 61166 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
324 ("lightcyan3" 46260 52685 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
325 ("lightcyan4" 31354 35723 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
326 ("paleturquoise1" 48059 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
327 ("paleturquoise2" 44718 61166 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
328 ("paleturquoise3" 38550 52685 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
329 ("paleturquoise4" 26214 35723 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
330 ("cadetblue1" 39064 62965 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
331 ("cadetblue2" 36494 58853 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
332 ("cadetblue3" 31354 50629 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
333 ("cadetblue4" 21331 34438 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
334 ("turquoise1" 0 62965 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
335 ("turquoise2" 0 58853 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
336 ("turquoise3" 0 50629 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
337 ("turquoise4" 0 34438 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
338 ("cyan1" 0 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
339 ("cyan2" 0 61166 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
340 ("cyan3" 0 52685 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
341 ("cyan4" 0 35723 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
342 ("darkslategray1" 38807 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
343 ("darkslategray2" 36237 61166 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
344 ("darkslategray3" 31097 52685 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
345 ("darkslategray4" 21074 35723 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
346 ("aquamarine1" 32639 65535 54484)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
347 ("aquamarine2" 30326 61166 50886)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
348 ("aquamarine3" 26214 52685 43690)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
349 ("aquamarine4" 17733 35723 29812)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
350 ("darkseagreen1" 49601 65535 49601)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
351 ("darkseagreen2" 46260 61166 46260)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
352 ("darkseagreen3" 39835 52685 39835)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
353 ("darkseagreen4" 26985 35723 26985)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
354 ("seagreen1" 21588 65535 40863)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
355 ("seagreen2" 20046 61166 38036)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
356 ("seagreen3" 17219 52685 32896)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
357 ("seagreen4" 11822 35723 22359)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
358 ("palegreen1" 39578 65535 39578)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
359 ("palegreen2" 37008 61166 37008)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
360 ("palegreen3" 31868 52685 31868)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
361 ("palegreen4" 21588 35723 21588)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
362 ("springgreen1" 0 65535 32639)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
363 ("springgreen2" 0 61166 30326)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
364 ("springgreen3" 0 52685 26214)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
365 ("springgreen4" 0 35723 17733)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
366 ("green1" 0 65535 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
367 ("green2" 0 61166 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
368 ("green3" 0 52685 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
369 ("green4" 0 35723 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
370 ("chartreuse1" 32639 65535 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
371 ("chartreuse2" 30326 61166 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
372 ("chartreuse3" 26214 52685 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
373 ("chartreuse4" 17733 35723 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
374 ("olivedrab1" 49344 65535 15934)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
375 ("olivedrab2" 46003 61166 14906)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
376 ("olivedrab3" 39578 52685 12850)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
377 ("olivedrab4" 26985 35723 8738)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
378 ("darkolivegreen1" 51914 65535 28784)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
379 ("darkolivegreen2" 48316 61166 26728)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
380 ("darkolivegreen3" 41634 52685 23130)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
381 ("darkolivegreen4" 28270 35723 15677)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
382 ("khaki1" 65535 63222 36751)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
383 ("khaki2" 61166 59110 34181)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
384 ("khaki3" 52685 50886 29555)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
385 ("khaki4" 35723 34438 20046)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
386 ("lightgoldenrod1" 65535 60652 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
387 ("lightgoldenrod2" 61166 56540 33410)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
388 ("lightgoldenrod3" 52685 48830 28784)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
389 ("lightgoldenrod4" 35723 33153 19532)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
390 ("lightyellow1" 65535 65535 57568)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
391 ("lightyellow2" 61166 61166 53713)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
392 ("lightyellow3" 52685 52685 46260)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
393 ("lightyellow4" 35723 35723 31354)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
394 ("yellow1" 65535 65535 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
395 ("yellow2" 61166 61166 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
396 ("yellow3" 52685 52685 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
397 ("yellow4" 35723 35723 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
398 ("gold1" 65535 55255 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
399 ("gold2" 61166 51657 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
400 ("gold3" 52685 44461 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
401 ("gold4" 35723 30069 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
402 ("goldenrod1" 65535 49601 9509)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
403 ("goldenrod2" 61166 46260 8738)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
404 ("goldenrod3" 52685 39835 7453)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
405 ("goldenrod4" 35723 26985 5140)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
406 ("darkgoldenrod1" 65535 47545 3855)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
407 ("darkgoldenrod2" 61166 44461 3598)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
408 ("darkgoldenrod3" 52685 38293 3084)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
409 ("darkgoldenrod4" 35723 25957 2056)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
410 ("rosybrown1" 65535 49601 49601)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
411 ("rosybrown2" 61166 46260 46260)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
412 ("rosybrown3" 52685 39835 39835)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
413 ("rosybrown4" 35723 26985 26985)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
414 ("indianred1" 65535 27242 27242)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
415 ("indianred2" 61166 25443 25443)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
416 ("indianred3" 52685 21845 21845)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
417 ("indianred4" 35723 14906 14906)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
418 ("sienna1" 65535 33410 18247)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
419 ("sienna2" 61166 31097 16962)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
420 ("sienna3" 52685 26728 14649)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
421 ("sienna4" 35723 18247 9766)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
422 ("burlywood1" 65535 54227 39835)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
423 ("burlywood2" 61166 50629 37265)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
424 ("burlywood3" 52685 43690 32125)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
425 ("burlywood4" 35723 29555 21845)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
426 ("wheat1" 65535 59367 47802)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
427 ("wheat2" 61166 55512 44718)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
428 ("wheat3" 52685 47802 38550)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
429 ("wheat4" 35723 32382 26214)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
430 ("tan1" 65535 42405 20303)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
431 ("tan2" 61166 39578 18761)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
432 ("tan3" 52685 34181 16191)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
433 ("tan4" 35723 23130 11051)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
434 ("chocolate1" 65535 32639 9252)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
435 ("chocolate2" 61166 30326 8481)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
436 ("chocolate3" 52685 26214 7453)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
437 ("chocolate4" 35723 17733 4883)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
438 ("firebrick1" 65535 12336 12336)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
439 ("firebrick2" 61166 11308 11308)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
440 ("firebrick3" 52685 9766 9766)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
441 ("firebrick4" 35723 6682 6682)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
442 ("brown1" 65535 16448 16448)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
443 ("brown2" 61166 15163 15163)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
444 ("brown3" 52685 13107 13107)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
445 ("brown4" 35723 8995 8995)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
446 ("salmon1" 65535 35980 26985)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
447 ("salmon2" 61166 33410 25186)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
448 ("salmon3" 52685 28784 21588)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
449 ("salmon4" 35723 19532 14649)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
450 ("lightsalmon1" 65535 41120 31354)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
451 ("lightsalmon2" 61166 38293 29298)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
452 ("lightsalmon3" 52685 33153 25186)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
453 ("lightsalmon4" 35723 22359 16962)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
454 ("orange1" 65535 42405 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
455 ("orange2" 61166 39578 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
456 ("orange3" 52685 34181 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
457 ("orange4" 35723 23130 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
458 ("darkorange1" 65535 32639 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
459 ("darkorange2" 61166 30326 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
460 ("darkorange3" 52685 26214 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
461 ("darkorange4" 35723 17733 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
462 ("coral1" 65535 29298 22102)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
463 ("coral2" 61166 27242 20560)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
464 ("coral3" 52685 23387 17733)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
465 ("coral4" 35723 15934 12079)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
466 ("tomato1" 65535 25443 18247)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
467 ("tomato2" 61166 23644 16962)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
468 ("tomato3" 52685 20303 14649)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
469 ("tomato4" 35723 13878 9766)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
470 ("orangered1" 65535 17733 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
471 ("orangered2" 61166 16448 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
472 ("orangered3" 52685 14135 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
473 ("orangered4" 35723 9509 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
474 ("red1" 65535 0 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
475 ("red2" 61166 0 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
476 ("red3" 52685 0 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
477 ("red4" 35723 0 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
478 ("deeppink1" 65535 5140 37779)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
479 ("deeppink2" 61166 4626 35209)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
480 ("deeppink3" 52685 4112 30326)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
481 ("deeppink4" 35723 2570 20560)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
482 ("hotpink1" 65535 28270 46260)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
483 ("hotpink2" 61166 27242 42919)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
484 ("hotpink3" 52685 24672 37008)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
485 ("hotpink4" 35723 14906 25186)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
486 ("pink1" 65535 46517 50629)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
487 ("pink2" 61166 43433 47288)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
488 ("pink3" 52685 37265 40606)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
489 ("pink4" 35723 25443 27756)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
490 ("lightpink1" 65535 44718 47545)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
491 ("lightpink2" 61166 41634 44461)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
492 ("lightpink3" 52685 35980 38293)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
493 ("lightpink4" 35723 24415 25957)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
494 ("palevioletred1" 65535 33410 43947)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
495 ("palevioletred2" 61166 31097 40863)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
496 ("palevioletred3" 52685 26728 35209)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
497 ("palevioletred4" 35723 18247 23901)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
498 ("maroon1" 65535 13364 46003)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
499 ("maroon2" 61166 12336 42919)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
500 ("maroon3" 52685 10537 37008)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
501 ("maroon4" 35723 7196 25186)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
502 ("violetred1" 65535 15934 38550)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
503 ("violetred2" 61166 14906 35980)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
504 ("violetred3" 52685 12850 30840)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
505 ("violetred4" 35723 8738 21074)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
506 ("magenta1" 65535 0 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
507 ("magenta2" 61166 0 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
508 ("magenta3" 52685 0 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
509 ("magenta4" 35723 0 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
510 ("orchid1" 65535 33667 64250)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
511 ("orchid2" 61166 31354 59881)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
512 ("orchid3" 52685 26985 51657)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
513 ("orchid4" 35723 18247 35209)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
514 ("plum1" 65535 48059 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
515 ("plum2" 61166 44718 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
516 ("plum3" 52685 38550 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
517 ("plum4" 35723 26214 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
518 ("mediumorchid1" 57568 26214 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
519 ("mediumorchid2" 53713 24415 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
520 ("mediumorchid3" 46260 21074 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
521 ("mediumorchid4" 31354 14135 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
522 ("darkorchid1" 49087 15934 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
523 ("darkorchid2" 45746 14906 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
524 ("darkorchid3" 39578 12850 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
525 ("darkorchid4" 26728 8738 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
526 ("purple1" 39835 12336 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
527 ("purple2" 37265 11308 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
528 ("purple3" 32125 9766 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
529 ("purple4" 21845 6682 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
530 ("mediumpurple1" 43947 33410 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
531 ("mediumpurple2" 40863 31097 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
532 ("mediumpurple3" 35209 26728 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
533 ("mediumpurple4" 23901 18247 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
534 ("thistle1" 65535 57825 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
535 ("thistle2" 61166 53970 61166)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
536 ("thistle3" 52685 46517 52685)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
537 ("thistle4" 35723 31611 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
538 ("gray0" 0 0 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
539 ("grey0" 0 0 0)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
540 ("gray1" 771 771 771)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
541 ("grey1" 771 771 771)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
542 ("gray2" 1285 1285 1285)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
543 ("grey2" 1285 1285 1285)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
544 ("gray3" 2056 2056 2056)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
545 ("grey3" 2056 2056 2056)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
546 ("gray4" 2570 2570 2570)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
547 ("grey4" 2570 2570 2570)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
548 ("gray5" 3341 3341 3341)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
549 ("grey5" 3341 3341 3341)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
550 ("gray6" 3855 3855 3855)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
551 ("grey6" 3855 3855 3855)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
552 ("gray7" 4626 4626 4626)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
553 ("grey7" 4626 4626 4626)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
554 ("gray8" 5140 5140 5140)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
555 ("grey8" 5140 5140 5140)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
556 ("gray9" 5911 5911 5911)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
557 ("grey9" 5911 5911 5911)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
558 ("gray10" 6682 6682 6682)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
559 ("grey10" 6682 6682 6682)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
560 ("gray11" 7196 7196 7196)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
561 ("grey11" 7196 7196 7196)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
562 ("gray12" 7967 7967 7967)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
563 ("grey12" 7967 7967 7967)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
564 ("gray13" 8481 8481 8481)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
565 ("grey13" 8481 8481 8481)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
566 ("gray14" 9252 9252 9252)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
567 ("grey14" 9252 9252 9252)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
568 ("gray15" 9766 9766 9766)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
569 ("grey15" 9766 9766 9766)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
570 ("gray16" 10537 10537 10537)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
571 ("grey16" 10537 10537 10537)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
572 ("gray17" 11051 11051 11051)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
573 ("grey17" 11051 11051 11051)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
574 ("gray18" 11822 11822 11822)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
575 ("grey18" 11822 11822 11822)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
576 ("gray19" 12336 12336 12336)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
577 ("grey19" 12336 12336 12336)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
578 ("gray20" 13107 13107 13107)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
579 ("grey20" 13107 13107 13107)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
580 ("gray21" 13878 13878 13878)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
581 ("grey21" 13878 13878 13878)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
582 ("gray22" 14392 14392 14392)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
583 ("grey22" 14392 14392 14392)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
584 ("gray23" 15163 15163 15163)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
585 ("grey23" 15163 15163 15163)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
586 ("gray24" 15677 15677 15677)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
587 ("grey24" 15677 15677 15677)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
588 ("gray25" 16448 16448 16448)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
589 ("grey25" 16448 16448 16448)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
590 ("gray26" 16962 16962 16962)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
591 ("grey26" 16962 16962 16962)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
592 ("gray27" 17733 17733 17733)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
593 ("grey27" 17733 17733 17733)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
594 ("gray28" 18247 18247 18247)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
595 ("grey28" 18247 18247 18247)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
596 ("gray29" 19018 19018 19018)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
597 ("grey29" 19018 19018 19018)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
598 ("gray30" 19789 19789 19789)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
599 ("grey30" 19789 19789 19789)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
600 ("gray31" 20303 20303 20303)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
601 ("grey31" 20303 20303 20303)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
602 ("gray32" 21074 21074 21074)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
603 ("grey32" 21074 21074 21074)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
604 ("gray33" 21588 21588 21588)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
605 ("grey33" 21588 21588 21588)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
606 ("gray34" 22359 22359 22359)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
607 ("grey34" 22359 22359 22359)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
608 ("gray35" 22873 22873 22873)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
609 ("grey35" 22873 22873 22873)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
610 ("gray36" 23644 23644 23644)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
611 ("grey36" 23644 23644 23644)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
612 ("gray37" 24158 24158 24158)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
613 ("grey37" 24158 24158 24158)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
614 ("gray38" 24929 24929 24929)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
615 ("grey38" 24929 24929 24929)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
616 ("gray39" 25443 25443 25443)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
617 ("grey39" 25443 25443 25443)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
618 ("gray40" 26214 26214 26214)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
619 ("grey40" 26214 26214 26214)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
620 ("gray41" 26985 26985 26985)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
621 ("grey41" 26985 26985 26985)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
622 ("gray42" 27499 27499 27499)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
623 ("grey42" 27499 27499 27499)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
624 ("gray43" 28270 28270 28270)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
625 ("grey43" 28270 28270 28270)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
626 ("gray44" 28784 28784 28784)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
627 ("grey44" 28784 28784 28784)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
628 ("gray45" 29555 29555 29555)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
629 ("grey45" 29555 29555 29555)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
630 ("gray46" 30069 30069 30069)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
631 ("grey46" 30069 30069 30069)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
632 ("gray47" 30840 30840 30840)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
633 ("grey47" 30840 30840 30840)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
634 ("gray48" 31354 31354 31354)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
635 ("grey48" 31354 31354 31354)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
636 ("gray49" 32125 32125 32125)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
637 ("grey49" 32125 32125 32125)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
638 ("gray50" 32639 32639 32639)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
639 ("grey50" 32639 32639 32639)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
640 ("gray51" 33410 33410 33410)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
641 ("grey51" 33410 33410 33410)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
642 ("gray52" 34181 34181 34181)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
643 ("grey52" 34181 34181 34181)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
644 ("gray53" 34695 34695 34695)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
645 ("grey53" 34695 34695 34695)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
646 ("gray54" 35466 35466 35466)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
647 ("grey54" 35466 35466 35466)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
648 ("gray55" 35980 35980 35980)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
649 ("grey55" 35980 35980 35980)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
650 ("gray56" 36751 36751 36751)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
651 ("grey56" 36751 36751 36751)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
652 ("gray57" 37265 37265 37265)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
653 ("grey57" 37265 37265 37265)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
654 ("gray58" 38036 38036 38036)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
655 ("grey58" 38036 38036 38036)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
656 ("gray59" 38550 38550 38550)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
657 ("grey59" 38550 38550 38550)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
658 ("gray60" 39321 39321 39321)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
659 ("grey60" 39321 39321 39321)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
660 ("gray61" 40092 40092 40092)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
661 ("grey61" 40092 40092 40092)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
662 ("gray62" 40606 40606 40606)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
663 ("grey62" 40606 40606 40606)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
664 ("gray63" 41377 41377 41377)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
665 ("grey63" 41377 41377 41377)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
666 ("gray64" 41891 41891 41891)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
667 ("grey64" 41891 41891 41891)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
668 ("gray65" 42662 42662 42662)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
669 ("grey65" 42662 42662 42662)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
670 ("gray66" 43176 43176 43176)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
671 ("grey66" 43176 43176 43176)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
672 ("gray67" 43947 43947 43947)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
673 ("grey67" 43947 43947 43947)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
674 ("gray68" 44461 44461 44461)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
675 ("grey68" 44461 44461 44461)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
676 ("gray69" 45232 45232 45232)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
677 ("grey69" 45232 45232 45232)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
678 ("gray70" 46003 46003 46003)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
679 ("grey70" 46003 46003 46003)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
680 ("gray71" 46517 46517 46517)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
681 ("grey71" 46517 46517 46517)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
682 ("gray72" 47288 47288 47288)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
683 ("grey72" 47288 47288 47288)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
684 ("gray73" 47802 47802 47802)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
685 ("grey73" 47802 47802 47802)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
686 ("gray74" 48573 48573 48573)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
687 ("grey74" 48573 48573 48573)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
688 ("gray75" 49087 49087 49087)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
689 ("grey75" 49087 49087 49087)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
690 ("gray76" 49858 49858 49858)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
691 ("grey76" 49858 49858 49858)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
692 ("gray77" 50372 50372 50372)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
693 ("grey77" 50372 50372 50372)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
694 ("gray78" 51143 51143 51143)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
695 ("grey78" 51143 51143 51143)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
696 ("gray79" 51657 51657 51657)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
697 ("grey79" 51657 51657 51657)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
698 ("gray80" 52428 52428 52428)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
699 ("grey80" 52428 52428 52428)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
700 ("gray81" 53199 53199 53199)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
701 ("grey81" 53199 53199 53199)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
702 ("gray82" 53713 53713 53713)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
703 ("grey82" 53713 53713 53713)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
704 ("gray83" 54484 54484 54484)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
705 ("grey83" 54484 54484 54484)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
706 ("gray84" 54998 54998 54998)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
707 ("grey84" 54998 54998 54998)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
708 ("gray85" 55769 55769 55769)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
709 ("grey85" 55769 55769 55769)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
710 ("gray86" 56283 56283 56283)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
711 ("grey86" 56283 56283 56283)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
712 ("gray87" 57054 57054 57054)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
713 ("grey87" 57054 57054 57054)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
714 ("gray88" 57568 57568 57568)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
715 ("grey88" 57568 57568 57568)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
716 ("gray89" 58339 58339 58339)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
717 ("grey89" 58339 58339 58339)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
718 ("gray90" 58853 58853 58853)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
719 ("grey90" 58853 58853 58853)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
720 ("gray91" 59624 59624 59624)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
721 ("grey91" 59624 59624 59624)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
722 ("gray92" 60395 60395 60395)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
723 ("grey92" 60395 60395 60395)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
724 ("gray93" 60909 60909 60909)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
725 ("grey93" 60909 60909 60909)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
726 ("gray94" 61680 61680 61680)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
727 ("grey94" 61680 61680 61680)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
728 ("gray95" 62194 62194 62194)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
729 ("grey95" 62194 62194 62194)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
730 ("gray96" 62965 62965 62965)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
731 ("grey96" 62965 62965 62965)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
732 ("gray97" 63479 63479 63479)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
733 ("grey97" 63479 63479 63479)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
734 ("gray98" 64250 64250 64250)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
735 ("grey98" 64250 64250 64250)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
736 ("gray99" 64764 64764 64764)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
737 ("grey99" 64764 64764 64764)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
738 ("gray100" 65535 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
739 ("grey100" 65535 65535 65535)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
740 ("darkgrey" 43433 43433 43433)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
741 ("darkgray" 43433 43433 43433)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
742 ("darkblue" 0 0 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
743 ("darkcyan" 0 35723 35723) ; no "lightmagenta", see comment above
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
744 ("darkmagenta" 35723 0 35723)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
745 ("darkred" 35723 0 0) ; but no "lightred", see comment above
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
746 ("lightgreen" 37008 61166 37008))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
747 "An alist of X color names and associated 16-bit RGB values.")
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
748
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
749 (defvar tty-standard-colors
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
750 '(("black" 0 0 0 0)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
751 ("red" 1 65535 0 0)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
752 ("green" 2 0 65535 0)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
753 ("yellow" 3 65535 65535 0)
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
754 ("blue" 4 0 0 65535)
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
755 ("magenta" 5 65535 0 65535)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
756 ("cyan" 6 0 65535 65535)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
757 ("white" 7 65535 65535 65535))
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
758 "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
759
42746
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
760 ;; This is used by term.c
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
761 (defvar tty-color-mode-alist
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
762 '((never . -1)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
763 (no . -1)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
764 (default . 0)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
765 (auto . 0)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
766 (ansi8 . 8)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
767 (always . 8)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
768 (yes . 8))
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
769 "An alist of supported standard tty color modes and their aliases.")
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
770
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
771 (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
772 "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
773
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
774 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
775
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
776 (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
777 "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
778 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
779 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
780 \(NAME INDEX R G B\)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
781 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
782 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
783 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
784 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
785 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
786 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
787 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
788 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
789 color."
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
790 tty-defined-color-alist)
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
791
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
792 (defun tty-modify-color-alist (elt &optional frame)
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
793 "Put the association ELT into the alist of terminal colors for FRAME.
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
794 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
795 for details).
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
796 If the association for NAME already exists in the color alist, it is
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
797 modified to specify \(INDEX R G B\) as its cdr. Otherwise, ELT is
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
798 appended to the end of the color alist.
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
799 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
800 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
801 (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
802 (if entry
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
803 (setcdr entry (cdr elt))
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
804 ;; Keep the colors in the order they are registered.
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
805 (setq entry
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
806 (list (append (list (car elt)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
807 (cadr elt))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
808 (copy-sequence (cddr elt)))))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
809 (setq tty-defined-color-alist (nconc tty-defined-color-alist entry)))
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
810 tty-defined-color-alist))
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
811
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
812 (defun tty-register-default-colors ()
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
813 "Register the default set of colors for a character terminal."
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
814 (let* ((colors (cond ((eq window-system 'pc)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
815 msdos-color-values)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
816 ((eq system-type 'windows-nt)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
817 w32-tty-standard-colors)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
818 (t tty-standard-colors)))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
819 (color (car colors)))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
820 (while colors
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
821 (tty-color-define (car color) (cadr color) (cddr color))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
822 (setq colors (cdr colors) color (car colors)))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
823 ;; Modifying color mappings means realized faces don't
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
824 ;; use the right colors, so clear them.
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
825 (clear-face-cache)))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
826
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
827 (defun tty-color-canonicalize (color)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
828 "Return COLOR in canonical form.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
829 A canonicalized color name is all-lower case, with any blanks removed."
45716
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
830 (let ((case-fold-search nil))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
831 (if (string-match "[A-Z ]" color)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
832 (replace-regexp-in-string " +" "" (downcase color))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
833 color)))
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
834
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
835 (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
836 "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
837 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
838 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
839 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
840 components of the color.
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
841 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
842 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
843 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
844 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
845 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
846 (if (or (not (stringp name))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
847 (not (integerp index))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
848 (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
849 (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
850 (tty-modify-color-alist
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
851 (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
852
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
853 (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
854 "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
855 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
856 (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
857
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
858 (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
859 "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
860 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
861 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
862 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
863 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
864 (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
865 (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
866
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
867 (defun tty-color-approximate (rgb &optional frame)
56532
bd9d26c0be17 (tty-color-approximate): Doc fix.
Luc Teirlinck <teirllm@auburn.edu>
parents: 54707
diff changeset
868 "Find the color in `tty-color-alist' that best approximates RGB.
bd9d26c0be17 (tty-color-approximate): Doc fix.
Luc Teirlinck <teirllm@auburn.edu>
parents: 54707
diff changeset
869 Value is a list of the form \(NAME INDEX R G B\).
bd9d26c0be17 (tty-color-approximate): Doc fix.
Luc Teirlinck <teirllm@auburn.edu>
parents: 54707
diff changeset
870 The argument RGB should be an rgb value, that is, a list of three
bd9d26c0be17 (tty-color-approximate): Doc fix.
Luc Teirlinck <teirllm@auburn.edu>
parents: 54707
diff changeset
871 integers in the 0..65535 range.
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
872 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
873 (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
874 (candidate (car color-list))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
875 (best-distance 195076) ;; 3 * 255^2 + 15
45716
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
876 (r (ash (car rgb) -8))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
877 (g (ash (cadr rgb) -8))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
878 (b (ash (nth 2 rgb) -8))
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
879 best-color)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
880 (while candidate
45716
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
881 (let ((try-rgb (cddr candidate))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
882 ;; If the approximated color is not close enough to the
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
883 ;; gray diagonal of the RGB cube, favor non-gray colors.
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
884 ;; (The number 0.065 is an empirical ad-hoc'ery.)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
885 (favor-non-gray (>= (tty-color-off-gray-diag r g b) 0.065))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
886 try-r try-g try-b
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
887 dif-r dif-g dif-b dist)
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
888 ;; 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
889 ;; 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
890 (if try-rgb
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
891 (progn
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
892 (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
893 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
894 try-b (lsh (nth 2 try-rgb) -8))
45716
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
895 (setq dif-r (- r try-r)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
896 dif-g (- g try-g)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
897 dif-b (- b try-b))
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
898 (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
899 (if (and (< dist best-distance)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
900 ;; 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
901 ;; 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
902 (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
903 (not favor-non-gray)))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
904 (setq best-distance dist
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
905 best-color candidate)))))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
906 (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
907 (setq candidate (car color-list)))
45716
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
908 best-color))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
909
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
910 (defun tty-color-standard-values (color)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
911 "Return standard RGB values of the color COLOR.
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
912
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
913 The result is a list of integer RGB values--(RED GREEN BLUE).
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
914 These values range from 0 to 65535; white is (65535 65535 65535).
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
915
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
916 The returned value reflects the standard X definition of COLOR,
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
917 regardless of whether the terminal can display it, so the return value
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
918 should be the same regardless of what display is being used."
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
919 (let ((len (length color)))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
920 (cond ((and (>= len 4) ;; X-style "#XXYYZZ" color spec
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
921 (eq (aref color 0) ?#)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
922 (member (aref color 1)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
923 '(?0 ?1 ?2 ?3 ?4 ?5 ?6 ?7 ?8 ?9
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
924 ?a ?b ?c ?d ?e ?f)))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
925 ;; Translate the string "#XXYYZZ" into a list
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
926 ;; of numbers (XX YY ZZ). If the primary colors
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
927 ;; are specified with less than 4 hex digits,
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
928 ;; the used digits represent the most significant
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
929 ;; bits of the value (e.g. #XYZ = #X000Y000Z000).
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
930 (let* ((ndig (/ (- len 1) 3))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
931 (i1 1)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
932 (i2 (+ i1 ndig))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
933 (i3 (+ i2 ndig)))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
934 (list
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
935 (lsh
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
936 (string-to-number (substring color i1 i2) 16)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
937 (* 4 (- 4 ndig)))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
938 (lsh
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
939 (string-to-number (substring color i2 i3) 16)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
940 (* 4 (- 4 ndig)))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
941 (lsh
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
942 (string-to-number (substring color i3) 16)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
943 (* 4 (- 4 ndig))))))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
944 ((and (>= len 9) ;; X-style RGB:xx/yy/zz color spec
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
945 (string= (substring color 0 4) "rgb:"))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
946 ;; Translate the string "RGB:XX/YY/ZZ" into a list
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
947 ;; of numbers (XX YY ZZ). If fewer than 4 hex
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
948 ;; digits are used, they represent the fraction
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
949 ;; of the maximum value (RGB:X/Y/Z = #XXXXYYYYZZZZ).
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
950 (let* ((ndig (/ (- len 3) 3))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
951 (maxval (1- (ash 1 (* 4 (- ndig 1)))))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
952 (i1 4)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
953 (i2 (+ i1 ndig))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
954 (i3 (+ i2 ndig)))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
955 (list
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
956 (/ (* (string-to-number
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
957 (substring color i1 (- i2 1)) 16)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
958 255)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
959 maxval)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
960 (/ (* (string-to-number
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
961 (substring color i2 (- i3 1)) 16)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
962 255)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
963 maxval)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
964 (/ (* (string-to-number
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
965 (substring color i3) 16)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
966 255)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
967 maxval))))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
968 (t
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
969 (cdr (assoc color color-name-rgb-alist))))))
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
970
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
971 (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
972 "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
973
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
974 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
975 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
976 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
977
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
978 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
979 `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
980 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
981 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
982 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
983 space.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
984 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
985 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
986
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
987 If FRAME is unspecified or nil, it defaults to the selected frame."
45716
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
988 (cadr (tty-color-desc color frame)))
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
989
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
990 (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
991 "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
992
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
993 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
994 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
995 (and idx
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
996 (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
997 desc found)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
998 (while colors
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
999 (setq desc (car colors))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1000 (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
1001 (setq found desc))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1002 (setq colors (cdr colors)))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1003 found)))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1004
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1005 (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
1006 "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
1007
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1008 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
1009 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
1010 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
1011 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
1012 If FRAME is omitted or nil, use the selected frame."
45716
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
1013 (cddr (tty-color-desc color frame)))
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1014
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
1015 (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
1016 "Return the description of the color COLOR for a character terminal.
45716
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
1017 Value is a list of the form \(NAME INDEX R G B\). The returned NAME or
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
1018 RGB value may not be the same as the argument COLOR, because the latter
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
1019 might need to be approximated if it is not supported directly."
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
1020 (and (stringp color)
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
1021 (let ((color (tty-color-canonicalize color)))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
1022 (or (assoc color (tty-color-alist frame))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
1023 (let ((rgb (tty-color-standard-values color)))
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
1024 (and rgb (tty-color-approximate rgb frame)))))))
27568
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1025
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1026 (defun tty-color-gray-shades (&optional display)
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1027 "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
1028 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
1029 (let* ((frame (if (framep display) display
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1030 ;; FIXME: this uses an arbitrary frame from DISPLAY!
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1031 (car (frames-on-display-list display))))
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1032 (colors (tty-color-alist frame))
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1033 (count 0)
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1034 desc r g b)
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1035 (while colors
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1036 (setq desc (cddr (car colors))
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1037 r (car desc)
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1038 g (cadr desc)
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1039 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
1040 (and (numberp r)
c34a61cbfbf6 Don't count colors without RGB values as gray shades.
Eli Zaretskii <eliz@gnu.org>
parents: 27568
diff changeset
1041 (eq r g) (eq g b)
27568
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1042 (setq count (1+ count)))
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1043 (setq colors (cdr colors)))
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1044 count))
38412
253f761ad37b Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents: 38340
diff changeset
1045
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 45716
diff changeset
1046 ;;; arch-tag: 84d5c3ef-ae22-4754-99ac-e6350c0967ae
38412
253f761ad37b Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents: 38340
diff changeset
1047 ;;; tty-colors.el ends here