Skip to main content

A library to manipulate colors (HEX to RGB, brightness adjustment, shade generation)

Project description

ColorLib

ColorLib is a Python library that provides utilities for color manipulation, including:

  • Conversion between HEX and RGB
  • Brightness adjustment
  • Generation of color shades

Installation

You can install the library using pip:

pip install krypt_shade

Usage

from krypt_shade import Color

# Create a Color object from a HEX color
color = Color.from_hex("#ff5733")

# Generate 5 shades of the color
shades = color.generate_shades()
for shade in shades:
    print(shade)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

krypt_shade-0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

krypt_shade-0.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file krypt_shade-0.1.tar.gz.

File metadata

  • Download URL: krypt_shade-0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for krypt_shade-0.1.tar.gz
Algorithm Hash digest
SHA256 6b92e10d37edb829400a68be0081603485715d123600d422e24347405cd8c271
MD5 da26c8a2c46d0f7b1c4a0d8a1aedb8ab
BLAKE2b-256 4324805937fc3315d4a4aa8b90a1e2ca752772af93a03a5c367afa4a34d3091b

See more details on using hashes here.

File details

Details for the file krypt_shade-0.1-py3-none-any.whl.

File metadata

  • Download URL: krypt_shade-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for krypt_shade-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a5b849ccb77e7a5db91a50498b026f9fcfe55d89a2e4d660ee8f4d1c9424de9
MD5 16d04b1299150e27b88493d711a3d079
BLAKE2b-256 8ba93c414bcc57df491a7a2e034ed900493d762d4898714482c73521ffc410e7

See more details on using hashes here.

Supported by

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