# hex-rgba

> Convert HEX to RGBA

Latest version **1.0.2** (published 2017-12-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install hex-rgba
pnpm add hex-rgba
yarn add hex-rgba
bun add hex-rgba
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-12-11 |
| First published | 2015-07-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | separate (@types/hex-rgba) |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alejandro Sanabria |
| Maintainers | developersoul |
| Keywords | hex, rgba, convert, colors |

## Links

- npm: https://www.npmjs.com/package/hex-rgba
- Repository: https://github.com/developersoul/hex-rgba
- Homepage: https://github.com/developersoul/hex-rgba#readme
- Issues: https://github.com/developersoul/hex-rgba/issues
- npm.io page: https://npm.io/package/hex-rgba

## 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.0.2 (latest) — 2017-12-11
- 1.0.1 — 2017-03-27
- 1.0.0 — 2015-07-09

## README

# HEX to RGBA

Convert HEX to RGBA

## Installation

    npm install --save hex-rgba

## Usage

    var hexToRgba = require('hex-rgba');

    var rgba = hexToRgba('#1B2B34', 40);
    // rgba return rgba(27, 43, 52, 0.4)

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