string-to-hex-color 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