diff --git a/jQuery_implementation/index.html b/jQuery_implementation/index.html index 23c9d86..13c68a1 100644 --- a/jQuery_implementation/index.html +++ b/jQuery_implementation/index.html @@ -30,7 +30,7 @@ Calling the colorPicker on all inputs with the calssName 'color':
$('input. diff --git a/jQuery_implementation/jqColor.js b/jQuery_implementation/jqColor.js index 2103774..ab1b976 100644 --- a/jQuery_implementation/jqColor.js +++ b/jQuery_implementation/jqColor.js @@ -15,7 +15,7 @@ colorMode = $input.data('colorMode'); $patch.css({ - 'color': (colors.rgbaMixBlack.luminance > 0.22 ? '#222' : '#ddd'), // Black...??? + 'color': (colors.rgbaMixCustom.luminance > 0.22 ? '#222' : '#ddd'), // Black...??? 'background-color': RGBAText, 'filter' : (options.isIE8 ? 'progid:DXImageTransform.Microsoft.gradient(' + // IE<9 'startColorstr=#' + AHEX + ',' + 'endColorstr=#' + AHEX + ')' : '') @@ -72,6 +72,7 @@ animationSpeed: 200, draggable: true, margin: {left: -1, top: 2}, + customBG: '#FFFFFF', // displayCallback: displayCallback, /* --- regular colorPicker options from this point --- */ color: elm.value,