Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@swatch/orchid

jutaz13ISC1.1.0

JS package for 'orchid' color

color, swatch, orchid

readme

Various exports of the orchid color

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

Usage:

const {rgb, hex} = require('@swatches/orchid');

// Use `rgb`, `hex` to show orchid in your application.

In the browser:

const {hex} = require('@swatch/orchid/string');

document.body.style.backgroundColor = hex;

Supported formats

List of all supported color formats.

As raw values

Exported as properties when importing @swatches/orchid.

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

As string values

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

  • rgb
  • hsl
  • hex