Color shades generator
Project description
Chromator: Color shades generator
Installation
pip install chromator
Usage
General help
$ chromator -h
usage: css-shades [-h] [-c COLOR1] [-k COLOR2] [-s STEP] [-e EXTRAPOLATE] [-i] label
positional arguments:
label
options:
-h, --help show this help message and exit
-c, --color1 COLOR1
-k, --color2 COLOR2
-s, --step STEP
-e, --extrapolate EXTRAPOLATE
-i, --inclusive
Shades as CSS variables, based on one input color:
$ chromator bad-ass -c bada55 -s 10
/*
Based on:
#bada55:
- Hue: 100.6°
- Saturation: 82.9%
- Lightness: 82.5%
*/
--bad-ass-10: #181e06;
--bad-ass-20: #2b340e;
--bad-ass-30: #3f4c18;
--bad-ass-40: #556523;
--bad-ass-50: #6b7f2e;
--bad-ass-60: #839a3a;
--bad-ass-70: #9bb646;
--bad-ass-80: #b4d352;
--bad-ass-90: #cdf05f;
Shades as CSS variables, based on two input colors:
$ chromator worse-ass -c bada55 -k b000b5 -s 10 -e 50
/*
Based on:
#bada55:
- Hue: 100.6°
- Saturation: 82.9%
- Lightness: 82.5%
#b000b5:
- Hue: 305.5°
- Saturation: 100.0%
- Lightness: 42.1%
*/
--worse-ass-10: #380039;
--worse-ass-20: #5a005d;
--worse-ass-30: #86066c;
--worse-ass-40: #b5116b;
--worse-ass-50: #e91d39;
--worse-ass-60: #da762a;
--worse-ass-70: #daa13a;
--worse-ass-80: #dbc84b;
--worse-ass-90: #d3ef5e;
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
chromator-0.5.1.tar.gz
(4.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chromator-0.5.1.tar.gz.
File metadata
- Download URL: chromator-0.5.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31c4b19583ef38f8b416ce0a4280f87554df8ea7575c4470b228526de63859be
|
|
| MD5 |
c68950ea49aca8315f99ae629d02e8ed
|
|
| BLAKE2b-256 |
5b3368a5df27a9b43fee1b1122251fd1e4362e73bbcc3852a4f23c57c3c5d4d0
|
File details
Details for the file chromator-0.5.1-py3-none-any.whl.
File metadata
- Download URL: chromator-0.5.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b304be9d748ae7ea324f833f714f392d66094d0c64a118eb1e56775c7f0deda6
|
|
| MD5 |
9f57effb99a4edd5f9757346ee88a23a
|
|
| BLAKE2b-256 |
5c2cfe31ee61884af05678a9923255edad3649349aee1098c251f650e3e88012
|