hex-color-linterp
v1.0.1
Published
Linearly interpolate between two hex color values.
Downloads
7
Maintainers
Readme
hex-color-linterp
Linearly interpolate between two hex color values.
Installation
npm i hex-color-linterp
Usage
import { hexColorLinterp } from "hex-color-linterp"
const interp = hexColorLinterp(0.75, "FF0000", "00CC00"); // i.e. "3f9900"