| Package | Description |
|---|---|
| cn.orionsec.kit.lang.utils.ansi.style.color |
| Modifier and Type | Class and Description |
|---|---|
class |
AnsiBackground
ANSI 背景色
|
class |
AnsiBit24Color
ANSI bit24 颜色
前景: 38:2:r;g;b
背景: 48:2:r;g;b
|
class |
AnsiBit8Color
ANSI bit8 颜色
前景: 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 级灰度
|
class |
AnsiBitColor
ANSI bit 颜色
|
class |
AnsiForeground
ANSI 前景色
|
| Modifier and Type | Method and Description |
|---|---|
static AnsiColor |
AnsiBit8Color.background(int color)
8bit 背景色
|
static AnsiColor |
AnsiBit24Color.background(int[] rgb) |
static AnsiColor |
AnsiBit24Color.background(int r,
int g,
int b)
24bit 背景色
|
static AnsiColor |
AnsiBit24Color.background(String hex) |
static AnsiColor |
AnsiBit8Color.foreground(int color)
8bit 前景色
|
static AnsiColor |
AnsiBit24Color.foreground(int[] rgb) |
static AnsiColor |
AnsiBit24Color.foreground(int r,
int g,
int b)
24bit 前景色
|
static AnsiColor |
AnsiBit24Color.foreground(String hex) |
Copyright © 2024. All rights reserved.