Color16 class final

One of the sixteen colours a terminal names itself, set by CSI 30 through CSI 37 and their high-intensity pairs.

What they look like is the terminal's business: this is the colour the user chose in its settings, not a colour this package can point at.

Inheritance

Properties

color Colors
Which of the sixteen it is.
final
hashCode int
The hash code for this object.
no setteroverride
id String
What this colour is called, as Parser.showControlFunctions writes it: fgRed, bg256Gray5, underlineRgb(1,2,3).
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

index(int offset, int highOffset) int
The SGR parameter this colour is set by, counted from offset for the first eight and from highOffset for the high-intensity eight.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

black → const Color16
blue → const Color16
cyan → const Color16
green → const Color16
highBlack → const Color16
highBlue → const Color16
highCyan → const Color16
highGreen → const Color16
highMagenta → const Color16
highRed → const Color16
highWhite → const Color16
highYellow → const Color16
magenta → const Color16
red → const Color16
white → const Color16
yellow → const Color16