public class AnsiBit24Color extends AnsiBitColor
前景: 38:2:r;g;b 背景: 48:2:r;g;b
| Constructor and Description |
|---|
AnsiBit24Color(String code) |
| Modifier and Type | Method and Description |
|---|---|
static AnsiColor |
background(int[] rgb) |
static AnsiColor |
background(int r,
int g,
int b)
24bit 背景色
|
static AnsiColor |
background(String hex) |
static AnsiColor |
foreground(int[] rgb) |
static AnsiColor |
foreground(int r,
int g,
int b)
24bit 前景色
|
static AnsiColor |
foreground(String hex) |
color, getCode, toStringpublic AnsiBit24Color(String code)
public static AnsiColor foreground(int r, int g, int b)
r - rg - gb - bpublic static AnsiColor foreground(int[] rgb)
public static AnsiColor background(int r, int g, int b)
r - rg - gb - bpublic static AnsiColor background(int[] rgb)
Copyright © 2024. All rights reserved.