coloraide-2.2.2
2.2.2
2.2.1
2.2
2.1
2.0.2
2.0.1
2.0
1.8.2
1.8.1
1.8
1.7.1
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0rc1
1.0b3
1.0b2
1.0b1
1.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.18.1
0.18.0
0.17.1
0.16.0
0.15.1
0.15.0.post1
0.15.0
0.14.2
0.14.1
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.1.0a9
0.1.0a8
0.1.0a7
0.1.0a6
0.1.0a5
0.1.0a4
0.1.0a3
0.1.0a27
0.1.0a26
0.1.0a25
0.1.0a24
0.1.0a23
0.1.0a22
0.1.0a21
0.1.0a20
0.1.0a2
0.1.0a19
0.1.0a18
0.1.0a17
0.1.0a16
0.1.0a15
0.1.0a14
0.1.0a13
0.1.0a12
0.1.0a11
0.1.0a10
0.1.0a1
0.1.0
2.2.2
2.2.1
2.2
2.1
2.0.2
2.0.1
2.0
1.8.2
1.8.1
1.8
1.7.1
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0rc1
1.0b3
1.0b2
1.0b1
1.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.18.1
0.18.0
0.17.1
0.16.0
0.15.1
0.15.0.post1
0.15.0
0.14.2
0.14.1
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.1.0a9
0.1.0a8
0.1.0a7
0.1.0a6
0.1.0a5
0.1.0a4
0.1.0a3
0.1.0a27
0.1.0a26
0.1.0a25
0.1.0a24
0.1.0a23
0.1.0a22
0.1.0a21
0.1.0a20
0.1.0a2
0.1.0a19
0.1.0a18
0.1.0a17
0.1.0a16
0.1.0a15
0.1.0a14
0.1.0a13
0.1.0a12
0.1.0a11
0.1.0a10
0.1.0a1
0.1.0
توضیحات
A color library for Python.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | coloraide-2.2.2 |
| نام | coloraide |
| نسخه کتابخانه | 2.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Isaac Muse <Isaac.Muse@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/coloraide/ |
| مجوز | - |
[![Donate via PayPal][donate-image]][donate-link]
[![Discord][discord-image]][discord-link]
[![Build][github-ci-image]][github-ci-link]
[![Coverage Status][codecov-image]][codecov-link]
[![PyPI Version][pypi-image]][pypi-link]
[![PyPI Downloads][pypi-down]][pypi-link]
[![PyPI - Python Version][python-image]][pypi-link]
![License][license-image-mit]
# ColorAide
## Overview
ColorAide is a pure Python, object oriented approach to colors.
```python
>>> from coloraide import Color
>>> c = Color("red")
>>> c.to_string()
'rgb(255 0 0)'
>>> c.convert('hsl').to_string()
'hsl(0 100% 50%)'
>>> c.set("lch.chroma", 30).to_string()
'rgb(173.81 114.29 97.218)'
>>> Color("blue").mix("yellow", space="lch").to_string()
'rgb(255 65.751 107.47)'
```
ColorAide particularly has a focus on the following:
- Accurate colors.
- Proper round tripping (where reasonable).
- Be generally easy to pick up for the average user.
- Support modern CSS color spaces and syntax.
- Make accessible many new and old non-CSS color spaces.
- Provide a number of useful utilities such as interpolation, color distancing, blending, gamut mapping, etc.
- Provide a plugin API to extend supported color spaces and more.
- Allow users to configure defaults to their liking.
With ColorAide, you can specify a color, convert it to other color spaces, mix it with other colors, output it in
different CSS formats, and much more!
# Documentation
https://facelessuser.github.io/coloraide
## License
MIT
[github-ci-image]: https://github.com/facelessuser/coloraide/workflows/build/badge.svg?branch=master&event=push
[github-ci-link]: https://github.com/facelessuser/coloraide/actions?query=workflow%3Abuild+branch%3Amaster
[discord-image]: https://img.shields.io/discord/678289859768745989?logo=discord&logoColor=aaaaaa&color=mediumpurple&labelColor=333333
[discord-link]:https://discord.gg/TWs8Tgr
[codecov-image]: https://img.shields.io/codecov/c/github/facelessuser/coloraide/master.svg?logo=codecov&logoColor=aaaaaa&labelColor=333333
[codecov-link]: https://codecov.io/github/facelessuser/coloraide
[pypi-image]: https://img.shields.io/pypi/v/coloraide.svg?logo=pypi&logoColor=aaaaaa&labelColor=333333
[pypi-down]: https://img.shields.io/pypi/dm/coloraide.svg?logo=pypi&logoColor=aaaaaa&labelColor=333333
[pypi-link]: https://pypi.python.org/pypi/coloraide
[python-image]: https://img.shields.io/pypi/pyversions/coloraide?logo=python&logoColor=aaaaaa&labelColor=333333
[license-image-mit]: https://img.shields.io/badge/license-MIT-blue.svg?labelColor=333333
[donate-image]: https://img.shields.io/badge/Donate-PayPal-3fabd1?logo=paypal
[donate-link]: https://www.paypal.me/facelessuser
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl coloraide-2.2.2:
pip install coloraide-2.2.2.whl
نصب پکیج tar.gz coloraide-2.2.2:
pip install coloraide-2.2.2.tar.gz