2.0.0 • Published 2 years ago

@vid3v/random-color v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@vid3v/random-color

A tiny JavaScript Library for generating arbitrary colors.

MIT License

Installation

$ npm install --save @vid3v/random-color

Usage

var { hex, rgb, rgba, hsl, hsla, name } = require('@vid3v/random-color');

hex()  // => #F37827
rgb()  // => rgb(90, 233, 87)
rgba() // => rgba(192, 81, 47, 0.9)
hsl()  // => hsl(90, 63%, 95%)
hsla() // => hsla(302, 49%, 10%, 0.32)
name() // => red

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

2.0.0

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago