# @pedroescudero/rgb

> Transforms from RGB decimal numbers to its hexadecimal value

Latest version **1.0.3** (published 2019-01-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pedroescudero/rgb
pnpm add @pedroescudero/rgb
yarn add @pedroescudero/rgb
bun add @pedroescudero/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.0.3 |
| Published | 2019-01-01 |
| First published | 2018-12-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.1.1 |
| Dependencies | 0 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Pedro Escudero Zumel |
| Maintainers | pedroescudero |
| Keywords | RGB, RGB transformer |

## Links

- npm: https://www.npmjs.com/package/@pedroescudero/rgb
- npm.io page: https://npm.io/package/@pedroescudero/rgb

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2019-01-01
- 1.0.2 — 2019-01-01
- 1.0.1 — 2019-01-01
- 1.0.0 — 2018-12-31

## README

RGB
========

Packed with a transformer from RGB to Hexadecimal.

## Installation

  `npm install @pedroescudero/rgb`

## Usage

The main function requires 3 decimal numbers. The response will be a string representing the hexadecimal value .

```
    let rgb = require('@pedroescudero/rgb');
    let rgbValue = rgb(0, 0, 0); # The result is 000000
```

## Tests

  `npm test`

  It is using [mocha](https://mochajs.org/) as a testing framework and [Chai](https://www.chaijs.com/) for the assertions.

  For manual testing and training you can employ [Runkit](https://npm.runkit.com/@pedroescudero/rgb).

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