default AnsiColor decodeColor(int colorCode, OfInt bits, Intensity intensity) {
		if (colorCode < 8) {
			return intensity == Intensity.BOLD
					? AnsiIntenseColor.get(colorCode)
					: AnsiStandardColor.get(colorCode);
		}
		if (colorCode == 8) {
			return decodeExtendedColor(bits);
		}
		if (colorCode == 9) {
			return AnsiDefaultColor.INSTANCE;
		}
		Msg.error(this, "Unrecognized color code: " + colorCode);
		return null;
	}
Decode an ANSI color specification

@param colorCode the color code (0-7 for standard, 8 for extended, 9 for default
@param bits the parameters for extended colors
@param intensity the current intensity, if applicable
@return the color specification
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtHandler.java