string-to-hex-color

1.0.0 • Public • Published

string-to-hex-color npm version

Takes a string and returns a hex color and it's black/white complement

Install

npm install string-to-hex-color

Usage

var stringToHexColor = require('string-to-hex-color');
console.log( stringToHexColor('Teemo') ) // [ '#9628cf', '#FFFFFF' ]

License

MIT

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i string-to-hex-color

    Weekly Downloads

    365

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • jylopez