@swatch/magenta

1.1.0 • Public • Published

Various exports of the magenta color

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

Usage:

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

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

In the browser:

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

document.body.style.backgroundColor = hex;

Supported formats

List of all supported color formats.

As raw values

Exported as properties when importing @swatches/magenta.

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

As string values

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

  • rgb
  • hsl
  • hex

Readme

Keywords

Package Sidebar

Install

npm i @swatch/magenta

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

2.01 kB

Total Files

4

Last publish

Collaborators

  • jutaz