How to remove the border of a Tkinter OptionMenu Widget
<p>I have been looking through multiple websites, which only give me a half satisfactory answer, how would I colour each part of of a Tkinter OptionMenu Widget?</p>

<p>Code Snippet:</p>

<pre><code>from tkinter import *

root = Tk()
text = StringVar()

fr = Frame (root,bg="yellow")
fr.grid()

menu = OptionMenu (fr, text, "hi", "there")
menu.grid (pady=50, padx=50)

# Pretty colouring goes here
# Or ugly yellow, I don't mind

menu ["menu"] ["bg"] = "yellow"
menu ["bg"] = "yellow"
menu ["activebackground"] = "green"

root.mainloop()
</code></pre>

<p>Or should I just give up and settle for grey?</p>

<p>I don't understand your problem.</p>

<p>menu["menu"] is a tkinter.Menu object, so you can set others options.</p>

<p>Possible colors options are :</p>

<ul>
<li>activebackground -> that you want </li>
<li>activeforeground -> that you want</li>
<li>background</li>
<li>bg</li>
<li>disabledforeground</li>
<li>fg</li>
<li>foreground </li>
<li>selectcolor</li>
</ul>

python python-3.x tkinter colors optionmenu