bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7943: white background is color #e5e5e5 in terminal window


From: Eli Zaretskii
Subject: bug#7943: white background is color #e5e5e5 in terminal window
Date: Sat, 12 Mar 2011 21:44:15 +0200

> From: Warren Harris <address@hidden>
> Date: Sat, 12 Mar 2011 10:39:10 -0800
> Cc: 
> 
> Any update on this bug? Thanks,

Sorry for such a long delay.

This is not a bug.  The xterm colors are defined on lisp/term/xterm.el
as follows:

  (defvar xterm-standard-colors
    ;; The names in the comments taken from XTerm-col.ad in the xterm
    ;; distribution, see ftp://dickey.his.com/xterm/.  RGB values are
    ;; from rgb.txt.
    '(("black"          0 (  0   0   0))        ; black
      ("red"            1 (205   0   0))        ; red3
      ("green"          2 (  0 205   0))        ; green3
      ("yellow"         3 (205 205   0))        ; yellow3
      ("blue"           4 (  0   0 238))        ; blue2
      ("magenta"        5 (205   0 205))        ; magenta3
      ("cyan"           6 (  0 205 205))        ; cyan3
      ("white"          7 (229 229 229))        ; gray90
      ("brightblack"    8 (127 127 127))        ; gray50
      ("brightred"      9 (255   0   0))        ; red
      ("brightgreen"   10 (  0 255   0))        ; green
      ("brightyellow"  11 (255 255   0))        ; yellow
      ("brightblue"    12 (92   92 255))        ; rgb:5c/5c/ff
      ("brightmagenta" 13 (255   0 255))        ; magenta
      ("brightcyan"    14 (  0 255 255))        ; cyan
      ("brightwhite"   15 (255 255 255)))       ; white

As you see, what is called "white" in list-colors-display is actually
gray90, and its RGB components are 229 decimal, or E5 hex.  Exactly
what you see.  This definition is used to leave FFFFFF for
brightwhite, see above.

So I suggest to close this bug.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]