@clef/hex-to-rgb

1.0.1 • Public • Published

@clef/hex-to-rgb

Build Status Downloads Downloads npm version dependencies dev dependencies License

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

Dependencies (0)

    Dev Dependencies (26)

    Package Sidebar

    Install

    npm i @clef/hex-to-rgb

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • dbrown-hmsd
    • landakram
    • jessepollak