A simple tool to extract and display color palettes from images.
Project description
Palette
A simple Python script for generating a color palette based on a given image/wallpaper
Installation
Installing palette.py using pip
pip install palette-gen
Installing from source/using from source
git clone https://github.com/auth-xyz/palette
cd palette
python3 color_palette/color_palette.py
Usage
palette <path to image> <amount of colors>
// Example
palette $HOME/.wallpapers/some_wallpaper.png
┏━━━━━━━┳━━━━━━━━━━┓
┃ Color ┃ Hex Code ┃
┡━━━━━━━╇━━━━━━━━━━┩
│ █████ │ #b97c8e │
│ █████ │ #6a6279 │
│ █████ │ #2e3440 │
│ █████ │ #614753 │
│ █████ │ #556682 │
└───────┴──────────┘
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
palette-gen-0.1.1.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file palette-gen-0.1.1.tar.gz.
File metadata
- Download URL: palette-gen-0.1.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21dc41bf807d1d5d27708de8754d577081b8493005d8dd8a29449bc1a74236ed
|
|
| MD5 |
b2b520cfb1cb2b2145be1dcbef2213d9
|
|
| BLAKE2b-256 |
977628de00a8cd9576503d279d1f03609245b622b81729dac76b8847be517c54
|
File details
Details for the file palette_gen-0.1.1-py3-none-any.whl.
File metadata
- Download URL: palette_gen-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
329422b718112f332380ccaeb9c1fde0877d395e87eeb6392d45d5185d517cf1
|
|
| MD5 |
d4c2535baa4b461aa0d638205e534940
|
|
| BLAKE2b-256 |
0582a0a5bb64577c28e6615b499adbd552f73448d43e641e1b60b464a9010441
|