1.1.0 • Published 7 years ago
@swatch/plum v1.1.0
Various exports of the plum color
This package contains already statically computed variants of the plum color.
Usage:
const {rgb, hex} = require('@swatches/plum');
// Use `rgb`, `hex` to show plum in your application.In the browser:
const {hex} = require('@swatch/plum/string');
document.body.style.backgroundColor = hex;Supported formats
List of all supported color formats.
As raw values
Exported as properties when importing @swatches/plum.
- hsl
- hsv
- hwb
- cmyk
- xyz
- lab
- lch
- hex
- keyword
- ansi16
- ansi256
- hcg
- apple
- gray
As string values
Exported as properties when importing @swatches/plum/string.
- rgb
- hsl
- hex