Generate beautiful random gradients

Install
$ npm install --save random-gradient
Usage
// with React { const bgGradient = background: return <div style=bgGradient> <h2>name</h2> </div> }
API
randomGradient(uid, type)
uid
Type: string
Required
type
Type: string
Default: diagonal
Options: diagonal
, vertical
, horizontal
, radial
Related
- hash-avatar — 🌈 Hash avatar algorithm
- react-hash-avatar — React hash avatar algorithm
License
MIT © Bu Kinoshita