Skip to main content

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


Download files

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

Source Distribution

lab_converter-0.1.4.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

lab_converter-0.1.4-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

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