smn-colorize

    1.0.2 • Public • Published

    SMN Logo

    smn-colorize

    Turn a number into a Material Design color.

    let colorize = require('smn-colorize');
     
    let color = colorize(5); // #F57C00

    Installation

    $ npm install smn-colorize

    How it works

    • Iterate an array of Material Design colors to find a specific color for given number.
    • The color will ever be the same for the same number.
    • It works for infinite numbers.

    People

    List of all contributors

    License

    MIT

    Install

    npm i smn-colorize

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • gustavomaritan
    • mariocsantos
    • smn-official-org