I want to make the bg of the button '#318CE7' this hex color, but no matter what I tried, the color did not change and when the application ran, the color of the button became white.
bg_color = (49, 140, 231)
bg_hex = '#{:02x}{:02x}{:02x}'.format(*bg_color)
start_btn = tk.Button(root, text="Start", bg=bg_hex, fg="white", font=("Arial", 16), bd=0, relief=tk.RIDGE, command=start_app)
I tried solving the problem with ChatGPT but the button did not turn blue.
I'm using macOS Big Sur