JSPM

rebeccapurple

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q80933F
  • License MIT

Simple JavaScript module for transforming the W3C CSS rebeccapurple color to rgb.

Package Exports

  • rebeccapurple

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rebeccapurple) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rebeccapurple

Simple JavaScript module for transforming the W3C CSS rebeccapurple color to rgb.

Build Status js-standard-style

Usage

var rebeccapurple = require('rebeccapurple')

rebeccapurple provides a simple interface for converting the CSS named color rebeccapurple to any rgb value:

console.log(rebeccapurple('color: rebeccapurple')) // 'color: rgb(102, 51, 153'

In addition you can pass an optional argument specifying the output value:

console.log(rebeccapurple('color: rebeccapurple', 'hex')) // 'color: #663399'

Any output value supported by the color module can be used here. Eg. 'hex', 'rgb', 'hsl', etc.

License

MIT