identicol
v0.1.0
Published
Repeateable string to color converter
Downloads
1
Readme
Identicol
roses are red
violets are blue
put in a string and
out comes a hue
Usage
const identicol = require('identicol')
identicol('hello world') // '#c6b5ee'
It's not case sensitive:
identicol('hello world') // '#c6b5ee'
identicol('HELLO WORLD') // '#c6b5ee'
And all non-alphanumerical characters are valued equally (including whitespace):
identicol('hello world!') // '#cee337'
identicol('hello-world?') // '#cee337'
License
Copyright (c) 2016, Peter-Paul van Gemerden.
Distributed under the ISC license (see LICENSE
).