# tkColorChooser example by Dan Rahmel # -- Here is short example code to display a color picker and store the user selected color

import leoGlobals as g import leoPlugins

import tkColorChooser

myColor = '#008000' myColor = tkColorChooser.askcolor(myColor)