function renderColor(totalErrors, totalWarnings) {
	if (totalErrors !== 0) {
		return 2;
	}
	if (totalWarnings !== 0) {
		return 1;
	}
	return 0;
}
Get the color based on whether there are errors/warnings...
@param {string} totalErrors Total errors
@param {string} totalWarnings Total warnings
@returns {number} The color code (0 = green, 1 = yellow, 2 = red)