JSPM

colorformatconverter

1.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q30073F
  • License ISC

Converts Color formats from RGB to HEX and vice versa

Package Exports

  • colorformatconverter

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 (colorformatconverter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Color Format Converter

A library that converts color format from RGB value to its HEX equivalent and vice versa

Installation

npm install @pgakk/colorformat-converter

Usage

var colorFormatConverter = require('@pgakk/colorformat-converter');

var convertedOutput = colorFormatConverter.verifyFormat('ea2291');

Output should be rgb(234,34,145)

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.