#color-palette #palette #color #cli-color #cli

app colinterp

A Rust CLI that linearly interpolates 2 colors to generate a palette

1 unstable release

0.1.1 Apr 21, 2023

#8 in #cli-color

MIT license

31KB
123 lines

colinterp

Screenshot

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