Quickly extract and count colors from CSS files.
Project description
css-colors-stats
Quickly extract and count colors from CSS files using a python CLI tool.
Export result to:
json
html
Available color formats:
hex
rgb
rgba
hsl
hsla
Installation
Clone this repo and install it with pip.
git clone https://github.com/giocaizzi/css-colors-stats
pip install .
rm -rf css-colors-stats
Usage
css-colors-stats [-h] [--html] filepath
Positional arguments:
filepath
the path to the CSS file.
Options:
--html
: generate an HTML file with the color counts-h
,--help
: show help message and exit
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
css_colors_stats-0.0.2.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for css_colors_stats-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4db8b4562c2e337fcde22f43bcc73db3cb350d2081d4bbf2dec48b88e6819e10 |
|
MD5 | 773834c72d4c5eed55ce16a1da3e1772 |
|
BLAKE2b-256 | 49e484c9a5b154e8e9e07ec74348fb78f1fa54531ac55616e055f92ea62fffa9 |