function _updateInputBySelectedColor(inputName, inputColor, color){
            if(!color){
                return;
            }

            var boxShadowCSS = _getPrefixedCSSText("box-shadow: inset 25px 0 0 " + color + " !important");

            inputColor.css("cssText", boxShadowCSS);
            inputName.css("background-color", color);
            inputName.removeClass("dimgray white").addClass($yobi.getContrastColor(color));
        }
Update inputColor and inputName style with given color expression

@require common/yobi.Common.js
@param color
@private