Skip to main content

Handles colors and features various other utilities related to color conversions

Project description

Color Converters

About the package

This is a very useful utility for converting hex to colors and colors to hex. Currently it only supports 3 colors and hexes but I am planning to add more later on!

Installation

Installing this module is very easy

Windows

python -m pip install color-converters

Mac or Linux

python3 -m pip install color-converters

Docs

color_to_hex(color)

Parameters: - color: str - The color to convert to hex

Returns str

hex_to_color(hex)

Parameters: - hex: str - The hex to convert to color

Returns str

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

colorconverters-0.0.3.tar.gz (3.0 kB view hashes)

Uploaded Source

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