identicol

v0.1.0
Repeateable string to color converter

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).

npm i identicol

Metadata

  • ISC
  • Whatever
  • Peter-Paul
  • released 4/26/2016

Downloads

Maintainers