Skip to content
Browse files

whitespace

  • Loading branch information...
1 parent d2ede1d commit f438fef925509af487dee2cccb5b16aaeaecdffb @bgrins committed Nov 26, 2012
Showing with 8 additions and 8 deletions.
  1. +8 −8 README.md
View
16 README.md
@@ -42,17 +42,17 @@
### Usage
var t = tinycolor("red");
- t.toHex() // "ff0000"
- t.toHexString() // "#ff0000"
- t.toRgb() // {"r":255,"g":0,"b":0} or {"r":255,"g":0,"b":0,"a":0.5}
- t.toRgbString() // "rgb(255, 0, 0)" or "rgba(255, 0, 0, 0.5)"
+ t.toHex() // "ff0000"
+ t.toHexString() // "#ff0000"
+ t.toRgb() // {"r":255,"g":0,"b":0} or {"r":255,"g":0,"b":0,"a":0.5}
+ t.toRgbString() // "rgb(255, 0, 0)" or "rgba(255, 0, 0, 0.5)"
t.toPercentageRgb() // {"r":100,"g":0,"b":0} or {"r":100,"g":0,"b":0,"a":0.5}
t.toPercentageRgbString() // "rgb(100%, 0%, 0%)" or "rgba(100%, 0%, 0%, 0.5)"
t.toHsv() // {"h":0,"s":1,"v":1}
- t.toHsvString() // "hsv(0, 100%, 100%)"
- t.toHsl() // {"h":0,"s":1,"l":0.5}
- t.toHslString() // "hsl(0, 100%, 50%)"
- t.toName() // "red"
+ t.toHsvString() // "hsv(0, 100%, 100%)"
+ t.toHsl() // {"h":0,"s":1,"l":0.5}
+ t.toHslString() // "hsl(0, 100%, 50%)"
+ t.toName() // "red"
`tinycolor` may also be included as a [node](http://nodejs.org/) module like so:

0 comments on commit f438fef

Please sign in to comment.
Something went wrong with that request. Please try again.