function unifyHexNotation(input) {
		if (input.length === 4) {
			var colorShortNotationRegexp = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
			var sResult = colorShortNotationRegexp.exec(input);
			if (sResult) {
				return "#" + sResult[1] + sResult[1] + sResult[2] + sResult[2] + sResult[3] + sResult[3];
			}
		}
		return input;
	}
/**
	 * converts short notation hex color code to long notation
	 * @param input, e.g. #abc
	 * @returns {string}, e.g. #aabbcc
	 */
converts short notation hex color code to long notation
@param input, e.g.
converts short notation hex color code to long notation @param input e . g .
function unifyHexNotation(input) {
		if (input.length === 4) {
			var colorShortNotationRegexp = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
			var sResult = colorShortNotationRegexp.exec(input);
			if (sResult) {
				return "#" + sResult[1] + sResult[1] + sResult[2] + sResult[2] + sResult[3] + sResult[3];
			}
		}
		return input;
	}
function unifyHexNotation ( input ) { if ( input . length === 4 ) { var colorShortNotationRegexp = / ^#?([a-f\d])([a-f\d])([a-f\d])$ / i ; var sResult = colorShortNotationRegexp . exec ( input ) ; if ( sResult ) { return "#" + sResult [ 1 ] + sResult [ 1 ] + sResult [ 2 ] + sResult [ 2 ] + sResult [ 3 ] + sResult [ 3 ] ; } } return input ; }
converts short notation hex color code to long notation
 @param input, e.g.
converts short notation hex color code to long notation @param input e . g .