Specific background color for Tk in Python
Question: How to set specific color such as #B0BF1A instead of black,white,grey

    
    
    window.configure(background='white')
    browse_label = gui.Label(window, text="Image path :", bg="white").place(x=20, y=20)
    


Answer: I'm not sure whether this is compatible in python 2.7, but try this: [Default
window colour Tkinter and hex colour
codes](http://stackoverflow.com/questions/11340765/default-window-colour-
tkinter-and-hex-colour-codes)

The code of the accepted answer is as follows (NOT MINE):

    
    
    import Tkinter
    
    mycolor = '#%02x%02x%02x' % (64, 204, 208)  # set your favourite rgb color
    mycolor2 = '#40E0D0'  # or use hex if you prefer 
    root = Tkinter.Tk()
    root.configure(bg=mycolor)
    Tkinter.Button(root, text="Press me!", bg=mycolor, fg='black',
                   activebackground='black', activeforeground=mycolor2).pack()
    root.mainloop()
    

