@swatch/darkred
Version:
JS package for 'darkred' color
50 lines (35 loc) • 749 B
Markdown
## Various exports of the darkred color
This package contains already statically computed variants of the darkred color.
Usage:
```js
const {rgb, hex} = require('@swatches/darkred');
// Use `rgb`, `hex` to show darkred in your application.
```
In the browser:
```js
const {hex} = require('@swatch/darkred/string');
document.body.style.backgroundColor = hex;
```
## Supported formats
List of all supported color formats.
### As raw values
Exported as properties when importing `@swatches/darkred`.
- `hsl`
- `hsv`
- `hwb`
- `cmyk`
- `xyz`
- `lab`
- `lch`
- `hex`
- `keyword`
- `ansi16`
- `ansi256`
- `hcg`
- `apple`
- `gray`
### As string values
Exported as properties when importing `@swatches/darkred/string`.
- `rgb`
- `hsl`
- `hex`