21 lines
197 B
Markdown
21 lines
197 B
Markdown
|
# text-hex
|
||
|
|
||
|
Transforms a given piece of text to a hex color.
|
||
|
|
||
|
## Install
|
||
|
|
||
|
```
|
||
|
npm install text-hex
|
||
|
```
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
var hex = require('text-hex');
|
||
|
console.log(hex('foo'));
|
||
|
```
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT
|