colorcodeconvert


Namecolorcodeconvert JSON
Version 1.1.2 PyPI version JSON
download
home_pagehttps://github.com/Simoso68/colorcodeconvert
SummaryA simple library to convert color codes.
upload_time2023-10-08 14:30:36
maintainerSimoso68
docs_urlNone
authorSimoso68
requires_python>=3.6
licenseGNU General Public License version 3
keywords color hex rgb
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align=center>

<h1>colorcodeconvert</h1>

<img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/colorcodeconvert?style=for-the-badge&logo=python&label=Python Versions&color=blue&link=https%3A%2F%2Fpypi.org%2Fproject%2Ffewact">
<img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dm/colorcodeconvert?style=for-the-badge&logo=googlebard&logoColor=green&label=Installs&color=green">
<img alt="GitHub" src="https://img.shields.io/github/license/Simoso68/colorcodeconvert?style=for-the-badge&logo=gitbook&logoColor=yellow&color=yellow">
<br><br>
<pre>pip install colorcodeconvert</pre>
</div>

## Examples

### From HEX to RGB

```python
from colorcodeconvert import *

# Prints the RGB value associated with the given HEX value.
print(convert(HexCode("#A0A0A0"), RGB))
```

### From RGB to HEX

```python
from colorcodeconvert import *

# Prints the HEX value associated with the given RGB value.
print(convert(RgbCode(160, 160, 160), HEX))
```

## Credits

README Badges made with [Shields.io](https://shields.io).

## License

This software is licensed under the GNU General Public License version 3.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Simoso68/colorcodeconvert",
    "name": "colorcodeconvert",
    "maintainer": "Simoso68",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "color,hex,rgb",
    "author": "Simoso68",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/6c/6a/bef7677279c1d01b8abc9483e3f0602ea66ce2e7e1d273487fec61b92e0e/colorcodeconvert-1.1.2.tar.gz",
    "platform": null,
    "description": "<div align=center>\n\n<h1>colorcodeconvert</h1>\n\n<img alt=\"PyPI - Python Version\" src=\"https://img.shields.io/pypi/pyversions/colorcodeconvert?style=for-the-badge&logo=python&label=Python Versions&color=blue&link=https%3A%2F%2Fpypi.org%2Fproject%2Ffewact\">\n<img alt=\"PyPI - Downloads\" src=\"https://img.shields.io/pypi/dm/colorcodeconvert?style=for-the-badge&logo=googlebard&logoColor=green&label=Installs&color=green\">\n<img alt=\"GitHub\" src=\"https://img.shields.io/github/license/Simoso68/colorcodeconvert?style=for-the-badge&logo=gitbook&logoColor=yellow&color=yellow\">\n<br><br>\n<pre>pip install colorcodeconvert</pre>\n</div>\n\n## Examples\n\n### From HEX to RGB\n\n```python\nfrom colorcodeconvert import *\n\n# Prints the RGB value associated with the given HEX value.\nprint(convert(HexCode(\"#A0A0A0\"), RGB))\n```\n\n### From RGB to HEX\n\n```python\nfrom colorcodeconvert import *\n\n# Prints the HEX value associated with the given RGB value.\nprint(convert(RgbCode(160, 160, 160), HEX))\n```\n\n## Credits\n\nREADME Badges made with [Shields.io](https://shields.io).\n\n## License\n\nThis software is licensed under the GNU General Public License version 3.\n",
    "bugtrack_url": null,
    "license": "GNU General Public License version 3",
    "summary": "A simple library to convert color codes.",
    "version": "1.1.2",
    "project_urls": {
        "Documentation": "https://github.com/Simoso68/colorcodeconvert/wiki",
        "Homepage": "https://github.com/Simoso68/colorcodeconvert",
        "Issues": "https://github.com/Simoso68/colorcodeconvert/issues",
        "Source": "https://github.com/Simoso68/colorcodeconvert"
    },
    "split_keywords": [
        "color",
        "hex",
        "rgb"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fbcc34b019ff63fb1ee7b288d052d0d3df4d66be55611e9d91daa0a9d697a313",
                "md5": "82bc790f7898053229682a459a40347e",
                "sha256": "c46ecd618616f0f9a6b0c26a02e5319ed5191ab125a8b62bad163263b5b3cef3"
            },
            "downloads": -1,
            "filename": "colorcodeconvert-1.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "82bc790f7898053229682a459a40347e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 16875,
            "upload_time": "2023-10-08T14:30:33",
            "upload_time_iso_8601": "2023-10-08T14:30:33.766653Z",
            "url": "https://files.pythonhosted.org/packages/fb/cc/34b019ff63fb1ee7b288d052d0d3df4d66be55611e9d91daa0a9d697a313/colorcodeconvert-1.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6c6abef7677279c1d01b8abc9483e3f0602ea66ce2e7e1d273487fec61b92e0e",
                "md5": "49c9a5d46ab294931105a0c8161deb75",
                "sha256": "28c9fc8d44e3661b5f3e7baa1cce3ff97ade75ca170be43e921cca01cb3097f4"
            },
            "downloads": -1,
            "filename": "colorcodeconvert-1.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "49c9a5d46ab294931105a0c8161deb75",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 16051,
            "upload_time": "2023-10-08T14:30:36",
            "upload_time_iso_8601": "2023-10-08T14:30:36.247552Z",
            "url": "https://files.pythonhosted.org/packages/6c/6a/bef7677279c1d01b8abc9483e3f0602ea66ce2e7e1d273487fec61b92e0e/colorcodeconvert-1.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-08 14:30:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Simoso68",
    "github_project": "colorcodeconvert",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "colorcodeconvert"
}
        
Elapsed time: 0.17027s