4/19/2023 0 Comments Js color pickercolorPicker.js - the UI (but not the implementation).- HTMLS / CSS and images used by the UI.colors.js - the color calculation library.Rgb *, hsv(b) *, hsl *, cmyk, cmy, Lab, XYZ, HEX Description of files Supported color spaces are: (* also displayed as colors in realtime) If you put the scripts in the header of your document and try to initialize right away, please make shure that you wrap it in some kind of document.ready wrapper or just put the scripts on the bottom of your document.Īll the WCAG 2.0 calculations for readability are also based on opacity levels of all layers See demo at dematte.at/colorPicker or check out a simple jQuery integration at dematte.at/colorPicker/jQuery_implementation and jQuery_implementation/jqColor.js or the javaScript implementation at dematte.at/colorPicker/javaScript_implementation and javascript_implementation/jsColor.js Now with new implementations for JavaScript and jQuery Demo & integration If you like it, don't be shy to click the ★ Star button o) With colors.js (~8.7k or way smaller if other color spaces and complex calculations are taken out.) you can also build your own simpler and / or smaller color pickers quite easy as demonstrated on the demo page.Ĭolors.js can convert 182 different combinations of color spaces (rgb2HSV, RGB2hsl, rgb2RGB, HEX2Lab. IE6+ (an extra CSS has to be made to make it work in IE6 though and some additional setTimeout tricks to make it work in IE5.5)ĬolorPicker.js uses colors.js, a small but comprehensive tool for color conversions / calculations (WCAG 2.0, contrast, color difference, layer mix, etc.). on IE9+ and internet browsers.ĬolorPicker works in all browsers incl.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |