Skip to main content

Generate hue-shifted pixel-art color ramps from hex colors or a reference image. Based on color theory from Color and Light by James Gurney.

Installation:

uv pip install hueshift

Usage:

uv run hueshift 3a7bd5 e0533a [options]
uv run hueshift input.png [options]

Options (defaults shown):

  • -n 9 shades per ramp (3–16)
  • -k 6 ramps to extract from an image
  • --shift mid hue shift: none, mid, strong, or LIGHT,DARK degrees
  • --light ffd700 / --shadow 2a0c42 colors highlights and shadows shift toward
  • --merge 0.04 make similar colors in different ramps identical (off by default)
  • --range 0.2 0.96 lightness range (1 = pure white top)
  • --tint 0.03 warm/cool cast on grays
  • -o palette writes palette.png, .gpl, .hex, .aseprite
  • --scale 16 swatch size in the PNG

Metadata

Release files for hueshift-pixel 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hueshift-pixel 0.1.0
File Size Uploaded Provenance Actions
hueshift_pixel-0.1.0.tar.gz 4.8 kB Without provenance Details for hueshift_pixel-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hueshift-pixel 0.1.0
File Interpreter ABI Platform Actions
hueshift_pixel-0.1.0-py3-none-any.whl Python 3 none any Details for hueshift_pixel-0.1.0-py3-none-any.whl

Total release size: 11.3 kB

Release files / hueshift_pixel-0.1.0.tar.gz

Download URL hueshift_pixel-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e875d0ed54d520ce6c162990321189887a15aa4d361b5f23d502dead799cdbbf
BLAKE2b-256 checksum
How to use checksums
c7550de4bc1a565e6a536ceabc4692e0e61154bc1451b0b0864e6f883b20bd67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / hueshift_pixel-0.1.0-py3-none-any.whl

Download URL hueshift_pixel-0.1.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8aa342c41bdcefa40b87cb809e2d8600d212315e82c5b422ff3b32e1855e049
BLAKE2b-256 checksum
How to use checksums
bfb8e2a1af1b063177a3cf3780e445183c6253faaaaeb97ffa688ccf31f8b8ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for hueshift-pixel 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page