# rework-hex-alpha

> Convert hex colors with alpha values into their RGBA equivalents for more browser support.

Latest version **1.0.0** (published 2014-03-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install rework-hex-alpha
pnpm add rework-hex-alpha
yarn add rework-hex-alpha
bun add rework-hex-alpha
```

## 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.0 |
| Published | 2014-03-14 |
| First published | 2013-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | ianstormtaylor |
| Keywords | rework, color, hex, alpha, rgba, rgb |

## Links

- npm: https://www.npmjs.com/package/rework-hex-alpha
- Repository: https://github.com/ianstormtaylor/rework-hex-alpha
- Issues: https://github.com/ianstormtaylor/rework-hex-alpha/issues
- npm.io page: https://npm.io/package/rework-hex-alpha

## Dependencies (1)

- [rgb](https://npm.io/package/rgb.md) 0.0.1

## 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.0 (latest) — 2014-03-14
- 0.0.3 — 2013-12-17
- 0.0.2 — 2013-12-17
- 0.0.1 — 2013-12-16

## README

# rework-hex-alpha
  
  Convert hex colors with alpha values into their RGBA equivalents for more browser support.

## Installation

    $ npm install rework-hex-alpha

## Example

```js
var hex = require('rework-hex-alpha');

rework(css)
  .use(hex)
  .toString();
```

## API

  In your CSS, use 4-digit or 8-digit hex colors with alpha channels as if they were already supported in all browsers:

```css
h2 {
  color: #9d9c;
}

p {
  color: #9823f8a9;
}
```

## License

  MIT

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