Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

@swatch/tan

1.1.0 • Public • Published

Various exports of the tan color

This package contains already statically computed variants of the tan color.

Usage:

const {rgb, hex} = require('@swatches/tan');
 
// Use `rgb`, `hex` to show tan in your application.

In the browser:

const {hex} = require('@swatch/tan/string');
 
document.body.style.backgroundColor = hex;

Supported formats

List of all supported color formats.

As raw values

Exported as properties when importing @swatches/tan.

  • hsl
  • hsv
  • hwb
  • cmyk
  • xyz
  • lab
  • lch
  • hex
  • keyword
  • ansi16
  • ansi256
  • hcg
  • apple
  • gray

As string values

Exported as properties when importing @swatches/tan/string.

  • rgb
  • hsl
  • hex

Install

npm i @swatch/tan

DownloadsWeekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

1.95 kB

Total Files

4

Last publish

Collaborators

  • avatar