text-hex

Generate a hex color from the given text

Usage no npm install needed!

<script type="module">
  import textHex from 'https://cdn.skypack.dev/text-hex';
</script>

README

text-hex

Transforms a given piece of text to a hex color.

Install

npm install text-hex

Usage

var hex = require('text-hex');
console.log(hex('foo'));

License

MIT