Color
type Color = | NamedColor | HexColor | RGBColor | number;Color value accepted by all style properties.
- NamedColor — ANSI name (
"red","cyanBright", …) - HexColor — hex string (
"#ff00ff") - RGBColor —
{ r, g, b }object number— ANSI 256-color index (0–255)