README
@clef/hex-to-rgb
A quick converter from hex to RGB
Getting Started
Install it via npm:
npm install @clef/hex-to-rgb
And include in your project:
import hexToRGB from '@clef/hex-to-rgb';
Usage
hexToRGB(hexString)
Converts a hex color string to a RGB object
Development
To start development, run:
git clone git@github.com:clef/hex-to-rgb.git hex-to-rgb
cd hex-to-rgb
npm install
npm run test
License
MIT