[Python] Default window colour Tkinter and hex colour codes

Discussão em 'Python' iniciado por Stack, Abril 13, 2025.

  1. Stack

    Stack Membro Participativo

    I would like to know the default window colour in Tkinter when you simply create a window:

    root = Tk()


    If there is one, it is possible to set widgets to the same colour or use a hex colour code? (using rgb)

    The colour code I have found for the 'normal' window is:

    R = 240, G = 240, B = 237

    Thanks.

    Continue reading...

Compartilhe esta Página