2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-07-02 23:54:29 -06:00

Update README.md

This commit is contained in:
Peter Dematté 2015-02-06 12:44:05 +01:00
parent fac7cfe35f
commit 1c5a9e099c

View File

@ -60,7 +60,8 @@ myColors: {
} }
} }
``` ```
colors.js is a quite handy tool for color calculations/conversion (gray value, contrast and luminance, etc...). It can also calculate layer mixes between background and foreground colors and therefore make calculations about readability (WCAG 2.0 standard).
If you need more complex calculations or more color spaces, use the version from https://github.com/PitPik/colorPicker. It supports also cmy, cmyk, XYZ and Lab.
```javascript ```javascript
myColorPicker: { myColorPicker: {
color: { // instance of Color inside colorPicker color: { // instance of Color inside colorPicker