Package toxi.color
Class NamedColor
java.lang.Object
toxi.color.NamedColor
Defines a list of named colors across the spectrum and provides a means to
access them by name (strings) dynamically (e.g. using config files or when
building
ColorTheme
s)-
Field Summary
Modifier and TypeFieldDescriptionstatic final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
static final ReadonlyTColor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final ReadonlyTColor
getForName
(String name) Returns a color for the given name.getNames()
Returns the names of all defined colors.
-
Field Details
-
ALICEBLUE
-
ANTIQUEWHITE
-
AQUA
-
AQUAMARINE
-
AZURE
-
BARK
-
BEIGE
-
BISQUE
-
BLACK
-
BLANCHEDALMOND
-
BLUE
-
BLUEVIOLET
-
BROWN
-
BURLYWOOD
-
CADETBLUE
-
CHARTREUSE
-
CHOCOLATE
-
CORAL
-
CORNFLOWERBLUE
-
CORNSILK
-
CRIMSON
-
CYAN
-
DARKBLUE
-
DARKCYAN
-
DARKGOLDENROD
-
DARKGRAY
-
DARKGREEN
-
DARKKHAKI
-
DARKMAGENTA
-
DARKOLIVEGREEN
-
DARKORANGE
-
DARKORCHID
-
DARKRED
-
DARKSALMON
-
DARKSEAGREEN
-
DARKSLATEBLUE
-
DARKSLATEGRAY
-
DARKTURQUOISE
-
DARKVIOLET
-
DEEPPINK
-
DEEPSKYBLUE
-
DIMGRAY
-
DIMGREY
-
DODGERBLUE
-
FIREBRICK
-
FLORALWHITE
-
FORESTGREEN
-
FUCHSIA
-
GAINSBORO
-
GHOSTWHITE
-
GOLD
-
GOLDENROD
-
GRAY
-
GREEN
-
GREENYELLOW
-
GREY
-
HONEYDEW
-
HOTPINK
-
INDIANRED
-
INDIGO
-
IVORY
-
KHAKI
-
LAVENDER
-
LAVENDERBLUSH
-
LAWNGREEN
-
LEMONCHIFFON
-
LIGHTBLUE
-
LIGHTCORAL
-
LIGHTCYAN
-
LIGHTGOLDENRODYELLOW
-
LIGHTGREEN
-
LIGHTGREY
-
LIGHTPINK
-
LIGHTSALMON
-
LIGHTSEAGREEN
-
LIGHTSKYBLUE
-
LIGHTSLATEGRAY
-
LIGHTSTEELBLUE
-
LIGHTYELLOW
-
LIME
-
LIMEGREEN
-
LINEN
-
MAROON
-
MEDIUMAQUAMARINE
-
MEDIUMBLUE
-
MEDIUMORCHID
-
MEDIUMPURPLE
-
MEDIUMSEAGREEN
-
MEDIUMSLATEBLUE
-
MEDIUMSPRINGGREEN
-
MEDIUMTURQUOISE
-
MEDIUMVIOLETRED
-
MIDNIGHTBLUE
-
MINTCREAM
-
MISTYROSE
-
MOCCASIN
-
NAVAJOWHITE
-
NAVY
-
OLDLACE
-
OLIVE
-
OLIVEDRAB
-
ORANGE
-
ORANGERED
-
ORCHID
-
PALEGOLDENROD
-
PALEGREEN
-
PALETURQUOISE
-
PALEVIOLETRED
-
PAPAYAWHIP
-
PEACHPUFF
-
PERU
-
PINK
-
PLUM
-
POWDERBLUE
-
PURPLE
-
RED
-
ROSYBROWN
-
ROYALBLUE
-
SADDLEBROWN
-
SALMON
-
SANDYBROWN
-
SEAGREEN
-
SEASHELL
-
SIENNA
-
SILVER
-
SKYBLUE
-
SLATEBLUE
-
SLATEGRAY
-
SNOW
-
SPRINGGREEN
-
STEELBLUE
-
TAN
-
TEAL
-
THISTLE
-
TOMATO
-
TRANSPARENT
-
TURQUOISE
-
VIOLET
-
WHEAT
-
WHITE
-
WHITESMOKE
-
YELLOW
-
YELLOWGREEN
-
-
Constructor Details
-
NamedColor
public NamedColor()
-
-
Method Details
-
getForName
Returns a color for the given name.- Parameters:
name
-- Returns:
- color or null, if name not found.
-
getNames
Returns the names of all defined colors.- Returns:
- list of name
-