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