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 `sh python -m pip install color-converters `
### Mac or Linux `sh python3 -m pip install color-converters `
## Docs
color_to_hex(color)
- Parameters:
color: [str](https://docs.python.org/3/library/stdtypes.html?highlight=str#str) - The color to convert to hex
Returns [str](https://docs.python.org/3/library/stdtypes.html?highlight=str#str)
hex_to_color(hex)
- Parameters:
hex: [str](https://docs.python.org/3/library/stdtypes.html?highlight=str#str) - The hex to convert to color
Returns [str](https://docs.python.org/3/library/stdtypes.html?highlight=str#str)
# Changelog
0.0.1 (04/11/2021) - Released package and added two functions color_to_hex and hex_to_color
0.0.2 (TBD) - Coming soon
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.