Tk Source Code

View Ticket
Login
Ticket UUID: 432104
Title: Blue colors documented as RGB 0 0 0
Type: Bug Version: None
Submitter: techentin Created on: 2001-06-11 14:57:54
Subsystem: 30. Color Names Assigned To: ericm
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-06-22 09:14:49
Resolution: Fixed Closed By: ericm
    Closed on: 2001-06-22 02:14:49
Description:
In the colors documentation man pages at 
http://tcl.activestate.com/man/tcl8.3.2/TkCmd/colors.htm and
http://tcl.activestate.com/man/tcl8.4/TkCmd/colors.htm

all these colors are documented as having RGB values 0 0 0:

blue, blue1, blue2, blue4, dark blue, DarkBlue, medium blue, MediumBlue, 
navy, navy blue, NavyBlue

When I query my X server, I get these values:


  0   0 255             blue
  0   0 255             blue1
  0   0 238             blue2
  0   0 205             blue3
  0   0 139             blue4
 50  50 204             medium blue
 50  50 204             mediumblue
 35  35 117             navy blue
 35  35 117             navyblue

but I don't get a value for darkblue.  Is that really a color?  I don't see it
in my /usr/lib/X11/rgb.txt.
User Comments: ericm added on 2001-06-22 09:14:49:
Logged In: YES 
user_id=86324

I corrected the man page, with the values in
tk/xlib/xcolors.c.

Eric Melski
The Other Tcl Guy

dkf added on 2001-06-12 15:31:51:
Logged In: YES 
user_id=79902

On Solaris 8:
    winfo rgb . "dark blue"
 => 0 0 35723
So "dark blue" is equivalent to #00008b