public class AnsiBit8Color extends AnsiBitColor
前景: 38:5:code 背景: 48:5:code
0 - 7: 标准色彩 8 - 15: 高亮色彩 16 - 231: 6 × 6 × 6 RGB (216 种颜色): 16 + 36 × r + 6 × g + b (0 ≤ r, g, b ≤ 5) 232 - 255: 从黑到白 24 级灰度
| Constructor and Description |
|---|
AnsiBit8Color(String code) |
| Modifier and Type | Method and Description |
|---|---|
static AnsiColor |
background(int color)
8bit 背景色
|
static AnsiColor |
foreground(int color)
8bit 前景色
|
color, getCode, toStringCopyright © 2024. All rights reserved.