Color Picker is a Python program that allows users to select any color on their screen by clicking on it with their mouse. The program displays the selected color in both RGB and HEX formats on a canvas and a label. The canvas displays the selected color as its background color, while the label shows the RGB and HEX values of the selected color.
col.mp4
The following libraries are required to run this program:
- PyQt5
- pynput
- PIL
These can be installed via pip, for example: pip install PyQt5 pip install pynput pip install Pillow
To run the program, simply execute the following command in your terminal: python ColorPyQt5.py
Once the program is running, click anywhere on your screen to select a color. The selected color will be displayed in both RGB and HEX formats on the canvas and the label.
This project is licensed under the MIT License.