hex-color-linterp

1.0.1 • Public • Published

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"

/hex-color-linterp/

    Package Sidebar

    Install

    npm i hex-color-linterp

    Weekly Downloads

    5

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    5.99 kB

    Total Files

    10

    Last publish

    Collaborators

    • mpoteat