annotate lisp/term/tty-colors.el @ 75246:65fcbafd0ef6

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