# random-color-rgb

> generate random RGB colors

Latest version **1.1.1** (published 2016-04-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install random-color-rgb
pnpm add random-color-rgb
yarn add random-color-rgb
bun add random-color-rgb
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2016-04-18 |
| First published | 2016-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Kai |
| Maintainers | riokai |
| Keywords | rgb, random |

## Links

- npm: https://www.npmjs.com/package/random-color-rgb
- Repository: https://github.com/Riokai/random-color-rgb
- Homepage: https://github.com/Riokai/random-color-rgb#readme
- Issues: https://github.com/Riokai/random-color-rgb/issues
- npm.io page: https://npm.io/package/random-color-rgb

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 1.1.1 (latest) — 2016-04-18
- 1.1.0 — 2016-04-09
- 1.0.0 — 2016-03-25
- 0.0.3 — 2016-03-25
- 0.0.2 — 2016-03-25
- 0.0.1 — 2016-03-24

## README

## random-color-rgb

[![Build Status](https://travis-ci.org/Riokai/random-color-rgb.svg?branch=master)](https://travis-ci.org/Riokai/random-color-rgb)

Package to generate random RGB colors

## Install

```bash
npm install random-color-rgb
```

## Usage

```js
var randomColorRGB = require('random-color-rgb')

// or ES2015(babel support)
import randomColorRGB from 'random-color-rgb'

randomColorRGB()
// return {String} rgb(100,100,100)

// set maximum
randomColorRGB({max: 100})
// return {String} rgb(90,80,60)

// set minimum
randomColorRGB({min: 20})
// return {String} rgb(145,118,172)

// set opacity
randomColorRGB({opacity: 0.5})
// return {String} rgba(123,182,123,0.5)
```

## Develop
```bash
npm run dev
```

---
_Source: https://npm.io/package/random-color-rgb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
