Skip to main content

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


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)

Uploaded Source

Built Distribution

palette_gen-0.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for palette-gen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 21dc41bf807d1d5d27708de8754d577081b8493005d8dd8a29449bc1a74236ed
MD5 b2b520cfb1cb2b2145be1dcbef2213d9
BLAKE2b-256 977628de00a8cd9576503d279d1f03609245b622b81729dac76b8847be517c54

See more details on using hashes here.

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

Hashes for palette_gen-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 329422b718112f332380ccaeb9c1fde0877d395e87eeb6392d45d5185d517cf1
MD5 d4c2535baa4b461aa0d638205e534940
BLAKE2b-256 0582a0a5bb64577c28e6615b499adbd552f73448d43e641e1b60b464a9010441

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page