Have ideas to improve npm?Join in the discussion! »

    color-scale

    1.1.0 • Public • Published

    color-scale

    Module for generating a color scale

    Install

    npm install color-scale --save

    Use

    var ColorScale = require('color-scale');
    var cs = ColorScale({
      color: '#00F',
      variance: 20
    });
     
    cs(-1) //Outputs #0000CC

    Keywords

    Install

    npm i color-scale

    DownloadsWeekly Downloads

    33

    Version

    1.1.0

    License

    BSD-2-Clause

    Last publish

    Collaborators

    • avatar