https://github.com/nazchini/random-gradient
npm package to generate beautiful linear gradients with randomly generated hex values.
https://github.com/nazchini/random-gradient
gradient hex-color javascript jest-tests npm-package
Last synced: about 2 months ago
JSON representation
npm package to generate beautiful linear gradients with randomly generated hex values.
- Host: GitHub
- URL: https://github.com/nazchini/random-gradient
- Owner: nazchini
- License: mit
- Created: 2022-06-08T14:02:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T20:46:56.000Z (about 4 years ago)
- Last Synced: 2025-03-12T08:51:26.092Z (over 1 year ago)
- Topics: gradient, hex-color, javascript, jest-tests, npm-package
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/generate-random-gradient
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# random-gradient-generator 🎨
>Generate beautiful linear gradients with randomly generated hex values.
>

No dependencies!
## Installation
```bash
npm install --save generate-random-gradient
```
## Usage
```javascript
var gradient = require("generate-random-gradient");
generateRandomGradient(); // => 'linear-gradient(29deg, #a2075c, #a0e60e)'
generateRandomGradient(); // => 'linear-gradient(256deg, #9783fd, #e3b03e)'
```
## License
MIT
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
Crafted with 💛 by Nazneen Oomatia ([GitHub](https://github.com/nazchini)).