Metadata-Version: 2.1
Name: hexacolors
Version: 0.6.0b3
Summary: :A simple library that converts string to hexadecimal understandable by python
Author: Marciel404
License: MIT
Project-URL: Homepage, https://github.com/Marciel404/hexacolors
Keywords: Python understandable colors
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: Portuguese
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: aiohttp

# 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

```shell
pip install hexacolors
```

### Import on your code:

```python
import hexacolors
```
### Run it
```python

Run if online:

    Using StringColor:

        >>> import hexacolors
        >>> hexacolors.stringColor('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%')

    Using AutoDetect:
    
        >>> import hexacolors
        >>> hexacolors.autodetect('Blue') #Identify string
        >>> hexacolors.autodetect('#fff000') #Identify Hexadecimal
        >>> hexacolors.autodetect('255,255,255') #Identify RGB
        >>> hexacolors.autodetect('423,522,4,244') #Identify CMYK
        >>> hexacolors.autodetect('255,75%,64%') #Identify HSL


Run if offline:

    Using StringColor:

        >>> import hexacolors
        >>>
        >>> hexacolors.stringColor('Blue')
        >>>
        >>> print(hexacolors.listall) #List all colors availables
        
    Using HexaColor:

        >>> import hexacolors
        >>>
        >>> hexacolors.hexadecimaloff('#0000FF') #Convert Hexadecimal Color for Python understand

    Using rgb:

        >>> import hexacolors
        >>>
        >>> hexacolors.rgboff(255,255,255)

    Using cmyk:

        >>> import hexacolors
        >>>
        >>> hexacolors.cmykoff(423,522,4,244)
```
