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 palettepy
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.0.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file palette-gen-0.1.0.tar.gz
.
File metadata
- Download URL: palette-gen-0.1.0.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 | 37c68a5cd811247d562f7522d987960855763e33127f140bd050a3a67576d6a4 |
|
MD5 | 12451a013ea3c0f81d2e0770f489e3d2 |
|
BLAKE2b-256 | 584d27d960a7ad16c1ccbdb8a5f66bde1f29e150d577311d148d6f4faceb6147 |
File details
Details for the file palette_gen-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: palette_gen-0.1.0-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 | 01d583619edda5667a32186e88bfa98165241d760376c0f0e6e3d0ef40ed95d3 |
|
MD5 | c235830271a3f34d37d369bbdce7526b |
|
BLAKE2b-256 | 71b2a64119b89d262a439543ce699fa689e0d7b0ed609cc8a729a22ecf06341d |