# hex-to-rgb

> Convert color hex value to rgb

Latest version **1.0.1** (published 2015-10-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install hex-to-rgb
pnpm add hex-to-rgb
yarn add hex-to-rgb
bun add hex-to-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.1 |
| Published | 2015-10-22 |
| First published | 2014-12-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Scott Corgan |
| Maintainers | scottcorgan |

## Links

- npm: https://www.npmjs.com/package/hex-to-rgb
- Repository: https://github.com/scottcorgan/hex-to-rgb
- Issues: https://github.com/scottcorgan/hex-to-rgb/issues
- npm.io page: https://npm.io/package/hex-to-rgb

## Recent versions

- 1.0.1 (latest) — 2015-10-22
- 1.0.0 — 2014-12-01

## README

# hex-to-rgb

Convert color hex value to rgb

## Install

```
npm install hex-to-rgb --save
```

## Usage

```js
var hexToRgb = require('hex-to-rgb');

console.log(hexToRgb('000000'));
console.log(hexToRgb('#ffffff'));
```

## Run Tests

```
npm install
npm test
```

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