Skip to main content

UltraCOLOR is a powerful color library

Project description

UltraCOLOR library v0.1.0

Table of Contents

1. Description

UltraCOLOR is a Python library that provides functionality for working with different color spaces. It supports RGBA, Hex and HSLA color spaces, allowing for accurate color conversion. The library does not require any third-party dependencies and only utilizes the Python standard library. With UltraCOLOR, you can easily convert colors between different color spaces and perform various operations on them.

2. Features

2.1 Does not require dependencies

This library does not require third party dependencies: only the Python >= 3.8 is required

2.2 Lightweight

UltraCOLOR is a lightweight library, making it a perfect choice for projects where performance is a key factor.

2.3 Easy to use

The library provides a simple and intuitive API, making it easy to perform complex color operations with just a few lines of code.

2.4 Accurate color conversion

This is achieved by using the built-in type Decimal

from ucolor import ColorRGBA, convert
foo = ColorRGBA(33, 33, 33)
bar = convert.rgba_to_hsla(foo)
baz = convert.hsla_to_rgba(bar)
print(foo == baz) # True

3. Installation

3.1 Install prebuilt package

$ pip3 install ucolor

3.2 From source code

NOTE: when installing this way you get the latest version of the library, it may contain bugs or not work at all.

$ pip3 install git+https://notabug.org/Aserogl/ucolor.git@main

4. Supported Color Spaces

  • RGBA
  • Hex
  • HSLA
  • HSVA

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

ucolor-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

ucolor-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file ucolor-0.1.0.tar.gz.

File metadata

  • Download URL: ucolor-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Windows/10

File hashes

Hashes for ucolor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d67b6601c26e7fcdbeb1692dfe87ec12d29b3370b8a1d6a1f25ff3cf5a53215
MD5 5752859abb016670529d132f414a62dd
BLAKE2b-256 aac5b5c456abae64f278fa96fade755f5e0320775c6d1743214088f43e19f80b

See more details on using hashes here.

File details

Details for the file ucolor-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ucolor-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Windows/10

File hashes

Hashes for ucolor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bfd3d9caa7019839cc2d7f8b38e0bd1239563a02d57fc4bc287ee169975b7a3
MD5 e168085db51d81be452e2680e2fb2448
BLAKE2b-256 51b93d81b51971f786980fea8a74f9a05381e8c1bbb6649cfce2911f28fdc123

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