Skip to content

poteat/hex-color-linterp

Repository files navigation

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"

About

Linearly interpolate between two hex color values.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published