2.4.9 - Updated redrawPosition() method to fix incorrect dialog positioning when using custom 'container'. Thanks to @Kirsdarkenvaar. 2.4.8 - Replaced deprecated 'substr' method with 'slice'. Thanks to contributor @CommanderRoot 2.4.7 - Removed captureTarget/releaseTarget (no longer needed) 2.4.6 - Added property 'random' and method randomize() 2.4.5 - Added support for #rrggbbaa notation (implemented as 'hexa' format) 2.4.4 - Picker's position is updated when scrolling the window - Reintroduced minified version 2.4.3 - Added option paletteSetsAlpha - By default, palette colors that don't specify alpha will set alpha to 1.0, but only if the palette contains at least one color with transparency (alpha < 1.0) 2.4.2 - Fixed infinite loop bug that occurs when sliderSize or paletteCols is set to 0 - Added static method jscolor.ready() that calls given function as soon as jscolor is initialized - Current color is now also reflected in 'data-current-color' attribute of the target element - Public method getCurrentFormat() renamed back to getFormat() 2.4.1 - Added support for custom palette (swatch) - Added options: palette, paletteCols, paletteHeight, paletteSpacing, hideOnPaletteClick - Added value for option paletteCols into presets 'small', 'medium', and 'large' 2.4.0 - Added module wrapper to allow using jscolor as a module - jscolor.init() method made public