Skip to content

Commit

Permalink
add new xyz conversion note to README
Browse files Browse the repository at this point in the history
  • Loading branch information
harthur committed Jul 3, 2011
1 parent 0e5f105 commit f3945f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -2,7 +2,7 @@
Color-convert is a library of plain color conversion functions. It converts between rgb, hsl, hsv, and cmyk:

```javascript
colorConvert.rgb2hsl([140, 200, 100])); // [96, 48, 59]
colorConvert.rgb2hsl([140, 200, 100]); // [96, 48, 59]
```

# Install
Expand Down Expand Up @@ -33,7 +33,7 @@ convert.cmyk2rgb([100, 100, 100, 100]) // cmyk -> rgb, hsl, hsv, and keyword

convert.keyword2rgb("blue") // keyword -> rgb, hsl, hsv, and cmyk

convert.xyz2rgb([100, 100, 100]) // xyz -> rgb
convert.xyz2rgb([100, 100, 100]) // xyz -> rgb, lab
```

### Unrounded
Expand Down

0 comments on commit f3945f1

Please sign in to comment.