From e27401e9e263ea2a00b54cd01fafa38231594079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Dematt=C3=A9?= Date: Fri, 6 Feb 2015 14:53:45 +0100 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 683ce20..b6aa938 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,14 @@ See **demo** at [dematte.at/tinyColorPicker](http://dematte.at/tinyColorPicker) All the WCAG 2.0 calculations for readability are also based on opacity levels of all layers.
Supported color spaces are: rgb, hsv(b), hsl, HEX +## Usage + +```javascript + +``` ##colors.js ```javascript @@ -29,7 +37,7 @@ Colors({ // all options have a default value... colorPicker uses an instance of Colors and passes the options to it, so some values are the same... ```javascript -ColorPicker({ +$('.color').colorPicker({ color: ..., // see Colors... customBG: '#FFF' // see Colors... animationSpeed: 150, // toggle animation speed