This is an unofficial mirror of Tkinter reference documentation (based on Python 2.7 and Tk 8.5) created by the late John Shipman.
It was last updated in 2013 and is unmaintained. [More info]
To give your application's user a popup they can use to
select a color, import the
module and call this function:
The initial color to be displayed. The default initial color is a light gray.
appears in the pop-up
window's title area. The default title is
Make the popup appear over window
default behavior is that it appears over your root
If the user clicks the
is a tuple
( containing red, green, and blue values in the range
[0,255] respectively, and
is the selected color as a
regular Tkinter color object.
If the users clicks
Here's what the popup looks like on the author's system: