npm.io
1.0.5 • Published 8 years ago

colorformatconverter

Licence
ISC
Version
1.0.5
Deps
0
Size
5 kB
Vulns
0
Weekly
0

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.

Keywords