https://github.com/basemax/color-picker
Color Picker is a simple Python application built with Tkinter that allows users to capture colors from their screen, select colors from a palette, and save their chosen colors to a file. The app displays the selected color in the interface and provides an easy way to save colors for later use.
https://github.com/basemax/color-picker
color-picker color-picker-app color-picker-library color-picker-palette color-picker-panel color-picker-popup color-pickers py python
Last synced: 3 months ago
JSON representation
Color Picker is a simple Python application built with Tkinter that allows users to capture colors from their screen, select colors from a palette, and save their chosen colors to a file. The app displays the selected color in the interface and provides an easy way to save colors for later use.
- Host: GitHub
- URL: https://github.com/basemax/color-picker
- Owner: BaseMax
- License: mit
- Created: 2025-01-10T22:21:33.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-17T14:05:29.000Z (5 months ago)
- Last Synced: 2025-01-20T19:40:05.748Z (4 months ago)
- Topics: color-picker, color-picker-app, color-picker-library, color-picker-palette, color-picker-panel, color-picker-popup, color-pickers, py, python
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Color Picker
Color Picker is a simple Python application built with Tkinter that allows users to capture colors from their screen, select colors from a palette, and save their chosen colors to a file. The app displays the selected color in the interface and provides an easy way to save colors for later use.
## Features
- **Capture color from screen:** Click anywhere on the screen to pick a color.
- **Select color from palette:** Open a color palette dialog to choose a color.
- **Save color:** Save the selected color to a file (`colors.txt`).
- **Display color:** The selected color is displayed in the window.
## Requirements
- Python 3.x
- Tkinter (usually included with Python)
- Pillow (`PIL`) library for image processingYou can install the required libraries using the following:
```bash
pip install -r requirements.txt
```## Usage
1. **Run the application:**
To run the Color Picker application, simply execute the following:
```
python color_picker.py
```2. **Capture color from screen:**
Click the "Capture Color from Screen" button, and then click anywhere on the screen to pick a color. The captured color will be displayed in the window.
3. **Select color from palette:**
Click the "Pick Color from Palette" button to open a color picker dialog and select a color. The selected color will be displayed in the window.
4. **Save color:**
Once you've selected a color, click the "Save Color" button to save the color to `colors.txt`.
## File Structure
```
color-picker/
│
├── color_picker.py
├── colors.txt
├── demo.jpg
├── LICENSE
├── README.md
├── requirements.txt
```## License
MIT License.
© 2025 Max Base.