Try the file /etc/X11/rgb.txt
On Sun, Feb 16, 2014 at 9:36 AM, Cam Farnell <ms...@bitflipper.ca> wrote: > Hello all, > > Tkinter supports a bunch of standard colors, for example something like: > > MyButton = Button(activebackground='red') > > works and somebody, somewhere, knows that 'red' means "#FF0000'. > > What I'm trying to find out is if there is a programatic way of getting a > list of the colors that are available. Anyone know this offhand? A quick > look through Tkinter.py was not overly illuminating. I'm using Python 2.7.2 > and whatever version of tk/tcl came with Ubuntu 12.04 LTS. > > Thanks > > Cam Farnell > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > https://mail.python.org/mailman/listinfo/tkinter-discuss -- **** Listen to my FREE CD at http://www.mellowood.ca/music/cedars **** Bob van der Poel ** Wynndel, British Columbia, CANADA ** EMAIL: b...@mellowood.ca WWW: http://www.mellowood.ca _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss