# postcss-color-rebeccapurple

> Use the rebeccapurple color keyword in CSS

Latest version **11.0.1** (published 2026-09-06) · MIT-0 license · 0 weekly downloads

## Install

```sh
npm install postcss-color-rebeccapurple
pnpm add postcss-color-rebeccapurple
yarn add postcss-color-rebeccapurple
bun add postcss-color-rebeccapurple
```

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 11.0.1 |
| Published | 2026-09-06 |
| First published | 2014-10-04 |
| Weekly downloads | 0 |
| License | MIT-0 |
| TypeScript types | none |
| Module format | ESM |
| Node | >=20.19.0 |
| Dependencies | 2 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1052 |
| Maintainers | jonathantneal, alaguna, romainmenke, moox, semigradsky |
| Keywords | becca, color, css, csswg, eric, meyer, postcss, postcss-plugin, purple, rebecca, rgb, syntax, w3c |

## Links

- npm: https://www.npmjs.com/package/postcss-color-rebeccapurple
- Repository: https://github.com/csstools/postcss-plugins
- Homepage: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-rebeccapurple#readme
- Issues: https://github.com/csstools/postcss-plugins/issues
- Funding: https://github.com/sponsors/csstools
- npm.io page: https://npm.io/package/postcss-color-rebeccapurple

## Dependencies (2)

- [@csstools/utilities](https://npm.io/package/@csstools/utilities.md) ^3.0.0
- [postcss-value-parser](https://npm.io/package/postcss-value-parser.md) ^4.2.0

## 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

- 11.0.1 (latest) — 2026-09-06
- 11.0.0 — 2026-01-14
- 10.0.0 — 2024-08-03
- 9.0.3 — 2024-02-19
- 9.0.2 — 2023-12-15
- 9.0.1 — 2023-09-18
- 9.0.0 — 2023-07-03
- 8.0.2 — 2023-02-06
- 8.0.1 — 2023-01-28
- 8.0.0 — 2023-01-24
- 7.1.1 — 2022-07-08
- 7.1.0 — 2022-06-10
- 7.0.2 — 2022-01-02
- 7.0.1 — 2021-12-16
- 7.0.0 — 2021-09-18
- … 11 more at https://npm.io/package/postcss-color-rebeccapurple/versions

## README

# PostCSS RebeccaPurple [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]

`npm install postcss-color-rebeccapurple --save-dev`

[PostCSS RebeccaPurple] lets you use the `rebeccapurple` color keyword in CSS.

```css
.heading {
	color: rebeccapurple;
}

/* becomes */

.heading {
	color: #639;
}
```

## About the `rebeccapurple` keyword

In 2014, Rebecca Alison Meyer, the daughter of [Eric A. Meyer](https://en.wikipedia.org/wiki/Eric_A._Meyer), an American web design consultant best known for his advocacy work on behalf of CSS, passed away of a brain tumor at six years of age.

In her memory, the hex color `#663399` is named `rebeccapurple` and [added to the CSS Colors list](https://lists.w3.org/Archives/Public/www-style/2014Jun/0312.html).

## Usage

Add [PostCSS RebeccaPurple] to your project:

```bash
npm install postcss postcss-color-rebeccapurple --save-dev
```

Use it as a [PostCSS] plugin:

```js
const postcss = require('postcss');
const postcssRebeccaPurple = require('postcss-color-rebeccapurple');

postcss([
	postcssRebeccaPurple(/* pluginOptions */)
]).process(YOUR_CSS /*, processOptions */);
```



## Options

### preserve

The `preserve` option determines whether the original notation
is preserved. By default, it is not preserved.

```js
postcssRebeccaPurple({ preserve: true })
```

```css
.heading {
	color: rebeccapurple;
}

/* becomes */

.heading {
	color: #639;
	color: rebeccapurple;
}
```

[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
[css-url]: https://cssdb.org/#rebeccapurple-color
[discord]: https://discord.gg/bUadyRwkJS
[npm-url]: https://www.npmjs.com/package/postcss-color-rebeccapurple

[PostCSS]: https://github.com/postcss/postcss
[PostCSS RebeccaPurple]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-rebeccapurple

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