Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcorgan committed Dec 1, 2014
1 parent c034d43 commit 21d2596
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
hex-to-rgb
==========
# hex-to-rgb

Convert color hex value to rgb

## Install

```
npm install hex-to-rgb --save
```

## Usage

```js
var hexToRgb = require('hex-to-rgb');

console.log(hexToRgb('000000'));
console.log(hexToRgb('#ffffff'));
```

## Run Tests

```
npm install
npm test
```

0 comments on commit 21d2596

Please sign in to comment.