1.0.3 • Published 3 years ago
identicolor v1.0.3
An Identicolor is a RGB color representation of a hash value, usually of an IP address, that serves to identify a user of a computer system as a form of RGB color model while protecting the user's privacy.
Installation
NPM
$ npm i identicolor
Yarn
$ yarn add identicolor
Usage
const identicolor = require('identicolor'); // es5
import identicolor from 'identicolor'; // es6
const [red, green, blue] = identicolor('Hello World');
// [ 49, 48, 102 ]