:A simple library that converts string to hexadecimal understandable by python
Project description
Hexacolors
A simple library that converts string to hexadecimal understandable by python
A simple library that converts RGB to hexadecimal understandable by python
A simple library that converts CMYK to hexadecimal understandable by python
A simple library that converts HSL to hexadecimal understandable by python
A simple library that converts hexadecimal understandable by python
I created this library more to use as pycord integration
Usage:
install with pip
pip install hexacolors
Import on your code:
import hexacolors
Run it
Using StringColor:
>>> import hexacolors
>>>
>>> hexacolors.string('Blue')
>>>
>>> print(hexacolors.listall) #List all colors availables
Using HexaColor:
>>> import hexacolors
>>>
>>> hexacolors.hexadecimal('#0000FF') #Convert Hexadecimal Color for Python understand
Using rgb:
>>> import hexacolors
>>>
>>> hexacolors.rgb(255,255,255)
Using cmyk:
>>> import hexacolors
>>>
>>> hexacolors.cmyk(423,522,4,244)
Using hsl:
>>> import hexacolors
>>>
>>> hexacolors.hsl('423,60%,70%')
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
hexacolors-0.4.6.tar.gz
(8.3 kB
view hashes)