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