Skip to content

Using Pygame, this python script opens a gui window where you can select a color temperature

License

Notifications You must be signed in to change notification settings

carterlasalle/python-colortemp-to-rgb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-colortemp-to-rgb

Using Pygame, this python script opens a gui window where you can select a color temperature python-colortemp-to-rgb

This Python script uses Pygame to open a GUI window where you can select a color temperature. The script then converts the selected color temperature to RGB values and displays them on the screen. Requirements

Python 3.6 or higher
Pygame

Installation

To install the script, run the following command in your terminal:

pip install python-colortemp-to-rgb Code snippet

Usage

To run the script, type the following command in your terminal:

Use code with caution. Learn more

python colortemp_to_rgb.py

The script will open a GUI window with a list of color temperatures. Select a color temperature from the list and click the "Convert" button. The RGB values for the selected color temperature will be displayed on the screen. Example

The following screenshot shows the GUI window for the python-colortemp-to-rgb script:

[Image of the GUI window for the python-colortemp-to-rgb script]

In the screenshot, the user has selected the "Cool White" color temperature. The RGB values for the "Cool White" color temperature are displayed at the bottom of the window. License

The python-colortemp-to-rgb script is licensed under the MIT License. For more information, see the LICENSE file in the project repository. Contributing

If you would like to contribute to the python-colortemp-to-rgb project, please fork the project repository on GitHub and submit a pull request. For more information, see the CONTRIBUTING file in the project repository.

About

Using Pygame, this python script opens a gui window where you can select a color temperature

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages