annotate lisp/term/tty-colors.el @ 54371:3b169dbc05d2

*** empty log message ***
author Jason Rumney <jasonr@gnu.org>
date Thu, 11 Mar 2004 22:54:34 +0000
parents 695cf19ef79e
children 3ae050b13a3c 375f2633d815
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
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
3 ;; Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5 ;; Author: Eli Zaretskii <eliz@is.elta.co.il>
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 ;; Maintainer: FSF
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7 ;; Keywords: terminals, faces
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 ;; This file is part of GNU Emacs.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 ;; it under the terms of the GNU General Public License as published by
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13 ;; the Free Software Foundation; either version 2, or (at your option)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 ;; any later version.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 ;; GNU Emacs is distributed in the hope that it will be useful,
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 ;; GNU General Public License for more details.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21 ;; You should have received a copy of the GNU General Public License
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24 ;; Boston, MA 02111-1307, USA.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 ;;; Commentary:
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28 ;; Emacs support for colors evolved from the X Window System; color
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29 ;; support for character-based terminals came later. Many Lisp
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30 ;; packages use color names defined by X and assume the availability
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31 ;; of certain functions that look up colors, convert them to pixel
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 ;; values, etc.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
33
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34 ;; This file provides a more or less useful emulation of the X color
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35 ;; functionality for character-based terminals, and thus relieves the
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 ;; rest of Emacs from including special code for this case.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38 ;; Here's how it works. The support for terminal and MSDOS frames
32647
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
39 ;; maintains an alist, called `tty-defined-color-alist', which
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
40 ;; associates colors supported by the terminal driver with small
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
41 ;; integers. (These small integers are passed to the library
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
42 ;; functions which set the color, and are effectively indices of the
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
43 ;; colors in the supported color palette.) When Emacs needs to send a
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
44 ;; color command to the terminal, the color name is first looked up in
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
45 ;; `tty-defined-color-alist'. If not found, functions from this file
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
46 ;; can be used to map the color to one of the supported colors.
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47 ;; Specifically, the X RGB values of the requested color are extracted
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48 ;; from `color-name-rgb-alist' and then the supported color is found
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
49 ;; with the minimal distance in the RGB space from the requested
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
50 ;; color.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
51
32647
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
52 ;; `tty-defined-color-alist' is created at startup by calling the
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
53 ;; function `tty-color-define', defined below, passing it each
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
54 ;; supported color, its index, and its RGB values. The standard list
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
55 ;; of colors supported by many Unix color terminals, including xterm,
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
56 ;; FreeBSD, and GNU/Linux, is supplied below in `tty-standard-colors'.
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
57 ;; If your terminal supports different or additional colors, call
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
58 ;; `tty-color-define' from your `.emacs' or `site-start.el'. For
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
59 ;; more-or-less standard definitions of VGA text-mode colors, see the
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
60 ;; beginning of lisp/term/pc-win.el.
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
61
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
62 ;;; Code:
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
63
32647
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
64 ;; The following list is taken from rgb.txt distributed with X.
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
65 ;;
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
66 ;; WARNING: Some colors, such as "lightred", do not appear in this
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
67 ;; list. If you think it's a good idea to add them, don't! The
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
68 ;; problem is that the X-standard definition of "red" actually
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
69 ;; corresponds to "lightred" on VGA (that's why pc-win.el and
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
70 ;; w32-fns.el define "lightred" with the same RGB values as "red"
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
71 ;; below). Adding "lightred" here would therefore create confusing
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
72 ;; and counter-intuitive results, like "red" and "lightred" being the
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
73 ;; same color. A similar situation exists with other "light*" colors.
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
74 ;;
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
75 ;; Nevertheless, "lightred" and other similar color names *are*
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
76 ;; defined for the MS-DOS and MS-Windows consoles, because the users
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
77 ;; on those systems expect these colors to be available.
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
78 ;;
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
79 ;; For these reasons, package maintaners are advised NOT to use color
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
80 ;; names such as "lightred" or "lightblue", because they will have
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
81 ;; different effect on different displays. Instead, use "red1" and
75b63082831b (color-name-rgb-alist): Add a comment explaining why some "light*"
Eli Zaretskii <eliz@gnu.org>
parents: 27569
diff changeset
82 ;; "blue1", respectively.
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
83 ;;
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 ;; 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
85 ;; 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
86 ;; 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
87 ;;
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
88 (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
89 '(("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
90 ("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
91 ("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
92 ("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
93 ("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
94 ("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
95 ("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
96 ("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
97 ("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
98 ("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
99 ("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
100 ("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
101 ("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
102 ("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
103 ("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
104 ("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
105 ("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
106 ("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
107 ("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
108 ("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
109 ("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
110 ("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
111 ("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
112 ("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
113 ("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
114 ("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
115 ("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
116 ("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
117 ("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
118 ("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
119 ("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
120 ("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
121 ("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
122 ("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
123 ("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
124 ("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
125 ("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
126 ("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
127 ("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
128 ("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
129 ("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
130 ("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
131 ("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
132 ("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
133 ("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
134 ("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
135 ("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
136 ("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
137 ("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
138 ("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
139 ("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
140 ("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
141 ("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
142 ("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
143 ("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
144 ("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
145 ("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
146 ("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
147 ("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
148 ("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
149 ("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
150 ("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
151 ("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
152 ("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
153 ("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
154 ("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
155 ("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
156 ("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
157 ("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
158 ("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
159 ("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
160 ("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
161 ("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
162 ("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
163 ("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
164 ("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
165 ("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
166 ("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
167 ("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
168 ("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
169 ("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
170 ("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
171 ("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
172 ("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
173 ("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
174 ("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
175 ("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
176 ("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
177 ("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
178 ("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
179 ("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
180 ("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
181 ("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
182 ("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
183 ("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
184 ("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
185 ("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
186 ("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
187 ("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
188 ("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
189 ("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
190 ("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
191 ("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
192 ("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
193 ("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
194 ("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
195 ("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
196 ("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
197 ("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
198 ("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
199 ("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
200 ("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
201 ("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
202 ("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
203 ("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
204 ("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
205 ("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
206 ("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
207 ("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
208 ("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
209 ("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
210 ("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
211 ("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
212 ("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
213 ("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
214 ("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
215 ("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
216 ("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
217 ("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
218 ("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
219 ("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
220 ("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
221 ("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
222 ("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
223 ("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
224 ("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
225 ("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
226 ("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
227 ("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
228 ("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
229 ("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
230 ("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
231 ("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
232 ("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
233 ("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
234 ("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
235 ("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
236 ("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
237 ("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
238 ("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
239 ("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
240 ("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
241 ("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
242 ("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
243 ("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
244 ("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
245 ("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
246 ("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
247 ("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
248 ("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
249 ("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
250 ("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
251 ("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
252 ("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
253 ("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
254 ("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
255 ("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
256 ("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
257 ("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
258 ("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
259 ("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
260 ("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
261 ("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
262 ("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
263 ("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
264 ("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
265 ("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
266 ("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
267 ("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
268 ("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
269 ("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
270 ("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
271 ("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
272 ("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
273 ("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
274 ("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
275 ("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
276 ("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
277 ("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
278 ("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
279 ("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
280 ("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
281 ("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
282 ("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
283 ("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
284 ("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
285 ("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
286 ("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
287 ("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
288 ("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
289 ("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
290 ("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
291 ("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
292 ("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
293 ("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
294 ("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
295 ("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
296 ("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
297 ("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
298 ("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
299 ("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
300 ("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
301 ("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
302 ("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
303 ("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
304 ("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
305 ("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
306 ("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
307 ("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
308 ("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
309 ("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
310 ("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
311 ("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
312 ("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
313 ("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
314 ("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
315 ("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
316 ("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
317 ("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
318 ("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
319 ("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
320 ("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
321 ("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
322 ("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
323 ("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
324 ("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
325 ("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
326 ("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
327 ("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
328 ("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
329 ("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
330 ("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
331 ("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
332 ("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
333 ("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
334 ("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
335 ("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
336 ("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
337 ("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
338 ("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
339 ("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
340 ("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
341 ("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
342 ("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
343 ("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
344 ("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
345 ("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
346 ("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
347 ("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
348 ("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
349 ("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
350 ("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
351 ("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
352 ("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
353 ("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
354 ("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
355 ("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
356 ("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
357 ("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
358 ("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
359 ("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
360 ("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
361 ("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
362 ("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
363 ("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
364 ("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
365 ("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
366 ("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
367 ("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
368 ("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
369 ("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
370 ("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
371 ("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
372 ("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
373 ("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
374 ("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
375 ("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
376 ("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
377 ("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
378 ("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
379 ("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
380 ("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
381 ("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
382 ("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
383 ("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
384 ("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
385 ("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
386 ("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
387 ("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
388 ("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
389 ("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
390 ("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
391 ("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
392 ("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
393 ("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
394 ("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
395 ("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
396 ("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
397 ("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
398 ("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
399 ("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
400 ("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
401 ("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
402 ("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
403 ("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
404 ("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
405 ("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
406 ("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
407 ("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
408 ("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
409 ("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
410 ("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
411 ("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
412 ("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
413 ("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
414 ("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
415 ("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
416 ("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
417 ("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
418 ("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
419 ("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
420 ("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
421 ("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
422 ("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
423 ("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
424 ("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
425 ("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
426 ("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
427 ("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
428 ("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
429 ("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
430 ("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
431 ("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
432 ("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
433 ("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
434 ("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
435 ("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
436 ("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
437 ("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
438 ("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
439 ("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
440 ("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
441 ("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
442 ("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
443 ("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
444 ("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
445 ("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
446 ("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
447 ("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
448 ("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
449 ("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
450 ("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
451 ("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
452 ("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
453 ("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
454 ("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
455 ("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
456 ("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
457 ("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
458 ("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
459 ("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
460 ("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
461 ("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
462 ("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
463 ("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
464 ("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
465 ("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
466 ("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
467 ("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
468 ("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
469 ("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
470 ("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
471 ("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
472 ("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
473 ("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
474 ("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
475 ("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
476 ("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
477 ("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
478 ("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
479 ("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
480 ("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
481 ("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
482 ("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
483 ("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
484 ("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
485 ("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
486 ("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
487 ("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
488 ("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
489 ("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
490 ("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
491 ("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
492 ("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
493 ("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
494 ("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
495 ("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
496 ("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
497 ("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
498 ("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
499 ("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
500 ("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
501 ("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
502 ("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
503 ("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
504 ("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
505 ("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
506 ("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
507 ("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
508 ("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
509 ("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
510 ("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
511 ("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
512 ("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
513 ("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
514 ("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
515 ("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
516 ("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
517 ("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
518 ("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
519 ("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
520 ("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
521 ("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
522 ("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
523 ("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
524 ("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
525 ("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
526 ("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
527 ("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
528 ("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
529 ("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
530 ("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
531 ("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
532 ("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
533 ("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
534 ("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
535 ("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
536 ("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
537 ("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
538 ("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
539 ("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
540 ("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
541 ("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
542 ("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
543 ("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
544 ("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
545 ("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
546 ("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
547 ("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
548 ("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
549 ("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
550 ("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
551 ("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
552 ("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
553 ("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
554 ("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
555 ("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
556 ("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
557 ("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
558 ("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
559 ("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
560 ("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
561 ("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
562 ("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
563 ("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
564 ("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
565 ("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
566 ("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
567 ("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
568 ("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
569 ("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
570 ("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
571 ("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
572 ("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
573 ("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
574 ("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
575 ("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
576 ("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
577 ("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
578 ("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
579 ("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
580 ("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
581 ("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
582 ("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
583 ("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
584 ("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
585 ("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
586 ("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
587 ("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
588 ("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
589 ("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
590 ("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
591 ("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
592 ("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
593 ("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
594 ("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
595 ("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
596 ("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
597 ("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
598 ("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
599 ("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
600 ("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
601 ("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
602 ("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
603 ("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
604 ("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
605 ("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
606 ("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
607 ("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
608 ("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
609 ("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
610 ("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
611 ("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
612 ("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
613 ("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
614 ("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
615 ("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
616 ("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
617 ("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
618 ("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
619 ("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
620 ("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
621 ("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
622 ("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
623 ("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
624 ("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
625 ("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
626 ("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
627 ("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
628 ("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
629 ("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
630 ("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
631 ("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
632 ("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
633 ("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
634 ("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
635 ("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
636 ("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
637 ("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
638 ("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
639 ("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
640 ("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
641 ("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
642 ("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
643 ("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
644 ("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
645 ("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
646 ("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
647 ("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
648 ("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
649 ("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
650 ("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
651 ("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
652 ("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
653 ("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
654 ("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
655 ("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
656 ("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
657 ("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
658 ("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
659 ("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
660 ("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
661 ("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
662 ("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
663 ("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
664 ("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
665 ("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
666 ("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
667 ("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
668 ("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
669 ("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
670 ("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
671 ("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
672 ("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
673 ("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
674 ("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
675 ("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
676 ("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
677 ("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
678 ("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
679 ("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
680 ("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
681 ("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
682 ("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
683 ("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
684 ("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
685 ("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
686 ("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
687 ("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
688 ("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
689 ("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
690 ("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
691 ("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
692 ("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
693 ("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
694 ("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
695 ("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
696 ("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
697 ("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
698 ("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
699 ("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
700 ("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
701 ("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
702 ("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
703 ("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
704 ("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
705 ("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
706 ("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
707 ("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
708 ("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
709 ("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
710 ("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
711 ("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
712 ("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
713 ("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
714 ("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
715 ("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
716 ("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
717 ("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
718 ("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
719 ("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
720 ("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
721 ("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
722 ("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
723 ("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
724 ("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
725 ("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
726 ("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
727 ("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
728 ("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
729 ("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
730 ("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
731 ("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
732 ("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
733 ("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
734 ("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
735 ("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
736 ("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
737 ("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
738 ("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
739 ("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
740 ("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
741 ("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
742 ("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
743 ("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
744 ("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
745 ("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
746 "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
747
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
748 (defvar tty-standard-colors
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
749 '(("black" 0 0 0 0)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
750 ("red" 1 65535 0 0)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
751 ("green" 2 0 65535 0)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
752 ("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
753 ("blue" 4 0 0 65535)
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
754 ("magenta" 5 65535 0 65535)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
755 ("cyan" 6 0 65535 65535)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
756 ("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
757 "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
758
42746
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
759 ;; This is used by term.c
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
760 (defvar tty-color-mode-alist
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
761 '((never . -1)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
762 (no . -1)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
763 (default . 0)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
764 (auto . 0)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
765 (ansi8 . 8)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
766 (always . 8)
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
767 (yes . 8))
5c684d670187 (tty-color-mode-alist): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 38412
diff changeset
768 "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
769
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
770 (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
771 "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
772
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
773 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
774
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
775 (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
776 "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
777 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
778 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
779 \(NAME INDEX R G B\)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
780 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
781 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
782 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
783 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
784 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
785 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
786 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
787 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
788 color."
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
789 tty-defined-color-alist)
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
790
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
791 (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
792 "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
793 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
794 for details).
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
795 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
796 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
797 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
798 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
799 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
800 (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
801 (if entry
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
802 (setcdr entry (cdr elt))
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
803 ;; 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
804 (setq entry
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
805 (list (append (list (car elt)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
806 (cadr elt))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
807 (copy-sequence (cddr elt)))))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
808 (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
809 tty-defined-color-alist))
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
810
42951
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
811 (defun tty-register-default-colors ()
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
812 "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
813 (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
814 msdos-color-values)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
815 ((eq system-type 'windows-nt)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
816 w32-tty-standard-colors)
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
817 (t tty-standard-colors)))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
818 (color (car colors)))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
819 (while colors
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
820 (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
821 (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
822 ;; 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
823 ;; 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
824 (clear-face-cache)))
de5c4caf0969 (tty-standard-colors): Reverse the order of colors.
Eli Zaretskii <eliz@gnu.org>
parents: 42746
diff changeset
825
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
826 (defun tty-color-canonicalize (color)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
827 "Return COLOR in canonical form.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
828 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
829 (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
830 (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
831 (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
832 color)))
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
833
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
834 (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
835 "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
836 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
837 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
838 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
839 components of the color.
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
840 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
841 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
842 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
843 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
844 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
845 (if (or (not (stringp name))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
846 (not (integerp index))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
847 (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
848 (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
849 (tty-modify-color-alist
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
850 (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
851
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
852 (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
853 "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
854 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
855 (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
856
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
857 (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
858 "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
859 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
860 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
861 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
862 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
863 (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
864 (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
865
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
866 (defun tty-color-approximate (rgb &optional frame)
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
867 "Given a list of 3 rgb values in RGB, find the color in `tty-color-alist'
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
868 which is the best approximation in the 3-dimensional RGB space,
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
869 and return its description.
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
870
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
871 Value is a list of the form \(NAME INDEX R G B\). Note that the returned
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
872 NAME is not necessarily the same string as the argument COLOR, because
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
873 the latter 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
874
4dd143567eea (color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
Miles Bader <miles@gnu.org>
parents: 42951
diff changeset
875 Each value of the RGB triplet should be in the range 0..65535 range.
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
876 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
877 (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
878 (candidate (car color-list))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
879 (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
880 (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
881 (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
882 (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
883 best-color)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
884 (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
885 (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
886 ;; 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
887 ;; 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
888 ;; (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
889 (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
890 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
891 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
892 ;; 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
893 ;; 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
894 (if try-rgb
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
895 (progn
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
896 (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
897 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
898 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
899 (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
900 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
901 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
902 (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
903 (if (and (< dist best-distance)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
904 ;; 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
905 ;; 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
906 (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
907 (not favor-non-gray)))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
908 (setq best-distance dist
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
909 best-color candidate)))))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
910 (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
911 (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
912 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
913
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 (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
915 "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
916
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 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
918 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
919
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 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
921 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
922 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
923 (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
924 (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
925 (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
926 (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
927 '(?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
928 ?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
929 ;; 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
930 ;; 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
931 ;; 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
932 ;; 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
933 ;; 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
934 (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
935 (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
936 (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
937 (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
938 (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
939 (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
940 (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
941 (* 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
942 (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
943 (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
944 (* 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
945 (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
946 (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
947 (* 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
948 ((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
949 (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
950 ;; 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
951 ;; 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
952 ;; 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
953 ;; 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
954 (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
955 (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
956 (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
957 (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
958 (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
959 (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
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 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
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 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
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 (/ (* (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
969 (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
970 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
971 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
972 (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
973 (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
974
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
975 (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
976 "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
977
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
978 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
979 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
980 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
981
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
982 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
983 `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
984 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
985 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
986 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
987 space.
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
988 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
989 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
990
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
991 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
992 (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
993
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
994 (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
995 "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
996
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
997 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
998 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
999 (and idx
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
1000 (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
1001 desc found)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1002 (while colors
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1003 (setq desc (car colors))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1004 (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
1005 (setq found desc))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1006 (setq colors (cdr colors)))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1007 found)))
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1008
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1009 (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
1010 "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
1011
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1012 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
1013 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
1014 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
1015 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
1016 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
1017 (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
1018
27089
5d4d3f1ba0cc (tty-defined-color-alist): Renamed from tty-color-alist.
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
1019 (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
1020 "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
1021 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
1022 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
1023 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
1024 (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
1025 (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
1026 (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
1027 (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
1028 (and rgb (tty-color-approximate rgb frame)))))))
27568
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1029
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1030 (defun tty-color-gray-shades (&optional display)
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1031 "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
1032 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
1033 (let* ((frame (if (framep display) display
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1034 ;; FIXME: this uses an arbitrary frame from DISPLAY!
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1035 (car (frames-on-display-list display))))
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1036 (colors (tty-color-alist frame))
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1037 (count 0)
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1038 desc r g b)
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1039 (while colors
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1040 (setq desc (cddr (car colors))
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1041 r (car desc)
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1042 g (cadr desc)
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1043 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
1044 (and (numberp r)
c34a61cbfbf6 Don't count colors without RGB values as gray shades.
Eli Zaretskii <eliz@gnu.org>
parents: 27568
diff changeset
1045 (eq r g) (eq g b)
27568
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1046 (setq count (1+ count)))
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1047 (setq colors (cdr colors)))
fd817cff1000 (tty-color-gray-shades): New function.
Eli Zaretskii <eliz@gnu.org>
parents: 27089
diff changeset
1048 count))
38412
253f761ad37b Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents: 38340
diff changeset
1049
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 45716
diff changeset
1050 ;;; 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
1051 ;;; tty-colors.el ends here