@swatch/oldlace

JS package for 'oldlace' color

Usage no npm install needed!

<script type="module">
  import swatchOldlace from 'https://cdn.skypack.dev/@swatch/oldlace';
</script>

README

Various exports of the oldlace color

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

Usage:

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

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

In the browser:

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

document.body.style.backgroundColor = hex;

Supported formats

List of all supported color formats.

As raw values

Exported as properties when importing @swatches/oldlace.

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

As string values

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

  • rgb
  • hsl
  • hex