color_scaling
Functions to get a weighted color between 2 colors. For example, to generate a gradient between 2 colors.
Installation
This crate is fully compatible with Cargo. Just add it to your Cargo.toml
:
[]
= "*"
Quick example
extern crate color_scaling;
extern crate image;
use scale_rgb;
use Rgb;