1 unstable release
0.1.1 | Apr 21, 2023 |
---|
#8 in #cli-color
31KB
123 lines
colinterp
colinterp v0.1.1
Nuno David <email@ndavd.com>
colinterp linearly interpolates 2 colors to generate a palette.
USAGE:
colinterp [COLOR] [COLOR] [N]
ARGS:
[COLOR] A color in hexadecimal format (#rrggbb)
[N] Number of colors in the generated palette
Building from source
git clone "https://github.com/ndavd/colinterp"
cd colinterp
cargo build --release
./target/release/colinterp
Dependencies
~0–10MB
~43K SLoC