Skip to content

cerebralnomad/tkinter_color_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

color_demo

GUI to browse the 558 colors available to tkinter on Ubuntu

There's a ton of colors available to tkinter and I wanted an easy way to preview them.
Note that this works on Ubuntu flavors. I do not know if it will work properly on other distros or operating systems.

The list of colors is from the rgb.txt file located at /etc/X11 on Ubuntu.

Installation

Download both .py files to their own directory or clone the repo. Make color_demo.py executable and run it

Usage

When first opened, this screen is displayed:

Screenshot

Click the combo box at the bottom and choose the color you wish to see. Click the button 'Change Color' and the main field above will change to the color you selected.

Screenshot

Choose another color or click 'Exit' to quit the program.

The color names you decide on are used in the "background = " parameters in tkinter.

About

GUI to browse the colors available to tkinter on Ubuntu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages