function selectColor(namespace) {
	    var hash = 0;

	    for (var i = 0; i < namespace.length; i++) {
	      hash = (hash << 5) - hash + namespace.charCodeAt(i);
	      hash |= 0; // Convert to 32bit integer
	    }

	    return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
	  }
Selects a color for a debug namespace
@param {String} namespace The namespace string for the for the debug instance to be colored
@return {Number|String} An ANSI color code for the given namespace
@api private