Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @swatch/antiquewhite with all npm packages installed. Try it out:

var antiquewhite = require("@swatch/antiquewhite")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@swatch/antiquewhite v1.1.0

JS package for 'antiquewhite' color

Various exports of the antiquewhite color

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

Usage:

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

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

In the browser:

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

document.body.style.backgroundColor = hex;

Supported formats

List of all supported color formats.

As raw values

Exported as properties when importing @swatches/antiquewhite.

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

As string values

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

  • rgb
  • hsl
  • hex
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free