easycolors-1.0.4
توضیحات
A simple tool for convinient rgb-tuple use
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | easycolors-1.0.4 |
| نام | easycolors |
| نسخه کتابخانه | 1.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sjoerd Vermeulen |
| ایمیل نویسنده | sjoerd@marsenaar.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/easycolors/ |
| مجوز | - |
This module contains rgb tuples for some colors.
Running e.g. 'easycolors.red' will return the rgb tuple for red.
Running e.g. 'easycolors.transform(easycolors.red, (0,0,10))' will return the rgb tuple for red, but with its blue value incremented by 10.
The first arg can also be a 3-value tuple, and the second arg can also be an int (which will in- or decrement all values in the given rgb-tuple).
Running 'easycolors.help()' will print some information that might be usefull.
colors:
white, black, grey, darkgrey, red, green, blue, yellow, orange, cyan, purple, navy, pink
example code:
-----------------------------------
import easycolors
easycolors.red
"(255,0,0)"
easycolors.transform(easycolors.red, (-10,0,0))
"(215,0,0)"
easycolors.transform((10,10,20), 5)
"(15,15,25)"
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl easycolors-1.0.4:
pip install easycolors-1.0.4.whl
نصب پکیج tar.gz easycolors-1.0.4:
pip install easycolors-1.0.4.tar.gz