Description: |
One would imagine that this was a relatively straightforward
topic, but there is some confusion. The official man page which lists
the colors available to Tk widgets has had errors in some versions.
For example, this is taken from the 8.3 Tk colors man page:
Obviously, if it's a blue, then it's not #000000. Tk doesn't behave
that way, so how can the real values be known? They can be found in a
Tk source file called something like tk8.3/xlib/xcolors.c. This is the
official listing of colors and their value. This file produced the
list below which is all of the colors that Tk knows about. The order
has been arranged a bit to group colors together to be more reasonable
to humans in order to help with the color selection process.
|