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
#000000in xterm. - red → const Color16
-
ANSI color
red.Represented by
#800000in xterm. - green → const Color16
-
ANSI color
green.Represented by
#008000in xterm. - yellow → const Color16
-
ANSI color
yellow.Represented by
#808000in xterm. - blue → const Color16
-
ANSI color
blue.Represented by
#000080in xterm. - magenta → const Color16
-
ANSI color
magenta.Represented by
#800080in xterm. - cyan → const Color16
-
ANSI color
cyan.Represented by
#008080in xterm. - white → const Color16
-
ANSI color
white.Represented by
#c0c0c0in xterm. - brightBlack → const Color16
-
ANSI color
brightBlack.Represented by
#808080in xterm. - brightRed → const Color16
-
ANSI color
brightRed.Represented by
#ff0000in xterm. - brightGreen → const Color16
-
ANSI color
brightGreen.Represented by
#00ff00in xterm. - brightYellow → const Color16
-
ANSI color
brightYellow.Represented by
#ffff00in xterm. - brightBlue → const Color16
-
ANSI color
brightBlue.Represented by
#0000ffin xterm. - brightMagenta → const Color16
-
ANSI color
brightMagenta.Represented by
#ff00ffin xterm. - brightCyan → const Color16
-
ANSI color
brightCyan.Represented by
#00ffffin xterm. - brightWhite → const Color16
-
ANSI color
brightWhite.Represented by
#ffffffin 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