An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# random-gradient-generator 🎨

>Generate beautiful linear gradients with randomly generated hex values.
>
![gradient-random](https://user-images.githubusercontent.com/89296394/173684284-535c5b48-191b-4150-9aed-15621b2ceb6b.gif)

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)).