mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-09-08 08:42:37 -06:00
Update README.md
This commit is contained in:
parent
95b103a178
commit
44cb025e3c
12
README.md
12
README.md
@ -4,19 +4,14 @@ colorPicker
|
|||||||
An advanced color picker (desktop use) using Colors for color conversion / calculation...
|
An advanced color picker (desktop use) using Colors for color conversion / calculation...
|
||||||
All the W3C 2.0 calculations are also based on alpha levels on all layers
|
All the W3C 2.0 calculations are also based on alpha levels on all layers
|
||||||
Supported color spaces: (*: also displayed as colors)
|
Supported color spaces: (*: also displayed as colors)
|
||||||
rgb *
|
|
||||||
hsv(b) *
|
rgb *, hsv(b) *, hsl *, cmyk, cmy, Lab, XYZ, HEX
|
||||||
hsl *
|
|
||||||
cmyk
|
|
||||||
cmy
|
|
||||||
Lab
|
|
||||||
XYZ
|
|
||||||
HEX
|
|
||||||
|
|
||||||
Convertions of 182 color space combinations (rgb2HSV, RGB2hsl, rgb2RGB, HEX2Lab, ...)
|
Convertions of 182 color space combinations (rgb2HSV, RGB2hsl, rgb2RGB, HEX2Lab, ...)
|
||||||
|
|
||||||
See demo at http://dematte.at/cpn
|
See demo at http://dematte.at/cpn
|
||||||
|
|
||||||
|
<pre>
|
||||||
var myColors = new Colors({ // all options have a default value...
|
var myColors = new Colors({ // all options have a default value...
|
||||||
color: 'rgba(204, 82, 37, 0.8)', // initial color (#RGB, RGB, #RRGGBB, RRGGBB, rgb(r, g, b), ...)
|
color: 'rgba(204, 82, 37, 0.8)', // initial color (#RGB, RGB, #RRGGBB, RRGGBB, rgb(r, g, b), ...)
|
||||||
XYZMatrix: ..., // Observer = 2° (CIE 1931), Illuminant = D65 --- see source for dedtails
|
XYZMatrix: ..., // Observer = 2° (CIE 1931), Illuminant = D65 --- see source for dedtails
|
||||||
@ -103,3 +98,4 @@ ColorPicker.removeEvent = function(obj, type, func){};
|
|||||||
ColorPicker.getOrigin = function(elm){};
|
ColorPicker.getOrigin = function(elm){};
|
||||||
ColorPicker.limitValue = function(value, min, max){};
|
ColorPicker.limitValue = function(value, min, max){};
|
||||||
ColorPicker.changeClass = function(elm, cln, newCln){}; // a bit tricky to use...
|
ColorPicker.changeClass = function(elm, cln, newCln){}; // a bit tricky to use...
|
||||||
|
</pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user