Since X window installations do not necessarily use consistent color names, a particular color database has been installed in Ptolemy. The available colors can be found in the file $PTOLEMY/lib/tcl/ptkColor.tcl
. To access this color database, use the Tcl function
ptkColor name
which returns a color defined in terms of RGB components. This color can be used anyplace that Tk expects a color. If the given name is not in the color database, the color returned is black.
Copyright © 1990-1997, University of California. All rights
reserved.