Color16 enum
4-bit ANSI color palette that includes 8 basic colors and 8 bright colors.
Constructors
- Color16()
-
const
Values
- black → const Color16
-
ANSI color
black
.Represented by
#000000
in xterm. - red → const Color16
-
ANSI color
red
.Represented by
#800000
in xterm. - green → const Color16
-
ANSI color
green
.Represented by
#008000
in xterm. - yellow → const Color16
-
ANSI color
yellow
.Represented by
#808000
in xterm. - blue → const Color16
-
ANSI color
blue
.Represented by
#000080
in xterm. - magenta → const Color16
-
ANSI color
magenta
.Represented by
#800080
in xterm. - cyan → const Color16
-
ANSI color
cyan
.Represented by
#008080
in xterm. - white → const Color16
-
ANSI color
white
.Represented by
#c0c0c0
in xterm. - brightBlack → const Color16
-
ANSI color
brightBlack
.Represented by
#808080
in xterm. - brightRed → const Color16
-
ANSI color
brightRed
.Represented by
#ff0000
in xterm. - brightGreen → const Color16
-
ANSI color
brightGreen
.Represented by
#00ff00
in xterm. - brightYellow → const Color16
-
ANSI color
brightYellow
.Represented by
#ffff00
in xterm. - brightBlue → const Color16
-
ANSI color
brightBlue
.Represented by
#0000ff
in xterm. - brightMagenta → const Color16
-
ANSI color
brightMagenta
.Represented by
#ff00ff
in xterm. - brightCyan → const Color16
-
ANSI color
brightCyan
.Represented by
#00ffff
in xterm. - brightWhite → const Color16
-
ANSI color
brightWhite
.Represented by
#ffffff
in xterm.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isBright → bool
-
Whether this color is a bright color.
no setter
- isDim → bool
-
Whether this color is a dim color.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBright(
) → Color16 - Returns the bright version of this color.
-
toDim(
) → Color16 - Returns the dim version of this color.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited