default AnsiColor decode8BitColor(int code) {
		if (code < 8) {
			return AnsiStandardColor.get(code);
		}
		if (code < 16) {
			return AnsiIntenseColor.get(code - 8);
		}
		if (code < 232) {
			code -= 16;
			int b = code % 6;
			int g = (code / 6) % 6;
			int r = (code / 36) % 6;
			return new Ansi216Color(r, g, b);
		}
		if (code < 256) {
			return new AnsiGrayscaleColor(code);
		}
		Msg.warn(this, "Invalid 8-bit color code: " + code);
		return null;
	}
Decode the 8-bit ANSI color.

<p>
Colors 0-15 are the standard + high-intensity. Colors 16-231 come from a 6x6x6 RGB cube.
Finally, colors 232-255 are 24 steps of gray scale.

@param code an 8-bit number
@return the ANSI color
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtHandler.java