This package contains modules that convert values in the LAB colorspace to values in different colorspaces, such as RGB and XYZ, and different color codes such as hexidecimal.
Project description
LAB Converter Python Package
Prerequisites
Hex Conversion .csv
In order to convert lab values to a hex code for a given color, down load this csv containing hex codes mapped to the corresponding rbg value.
Installation
pip install lab-converter
Usage
from lab-converter import lab2hex
hex = lab2hex(52.9, 8.88, 54.53, hex_conversion_csv_path="./Base10_Hex.csv")
print(hex)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lab_converter-0.1.4.tar.gz.
File metadata
- Download URL: lab_converter-0.1.4.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.10.102.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23934522629a2c4b74f9ad661af5bdc4a096acf91614b692711fc2ac9b4a778b
|
|
| MD5 |
af707d863200bf0eba299e4fe9415495
|
|
| BLAKE2b-256 |
f936a8a79d848aad71e0bbef7bac210304855f326c07fe8d166b33d9f2dbaf05
|
File details
Details for the file lab_converter-0.1.4-py3-none-any.whl.
File metadata
- Download URL: lab_converter-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.10.102.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
948c64b5bd03ee677e765534657892b7f7613df40f4093b1be15c3eb60ab3457
|
|
| MD5 |
ab4614c48499c13bea5a9e660da738ba
|
|
| BLAKE2b-256 |
84810866c32ec3e75833be3c38027301fa0d1deb557c189dfa931761b387f730
|