ColorName
@Js
@Gen
@Serializable { simple=true }
const class ColorName : Enum
Palette color name.
Return the ColorName instance for the specified name
Amber
Blue - informational
Cyan
Emerald
Fuchsia
Gray
Green - ok, success
Indigo
Lime
Neutral
Orange - warnings, faults
Pink
Purple - abnormal
Red - errors
Rose
Sky
Slate
Stone
Teal
List of ColorName values indexed by ordinal
Violet
Yellow - down
Zinc
const static ColorName : amber
Amber
const static ColorName : blue
Blue - informational
const static ColorName : cyan
Cyan
const static ColorName : emerald
Emerald
static new fromStr(Str name, Bool checked := true)
Return the ColorName instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
const static ColorName : fuchsia
Fuchsia
const static ColorName : gray
Gray
const static ColorName : green
Green - ok, success
const static ColorName : indigo
Indigo
const static ColorName : lime
Lime
const static ColorName : neutral
Neutral
const static ColorName : orange
Orange - warnings, faults
const static ColorName : pink
Pink
const static ColorName : purple
Purple - abnormal
const static ColorName : red
Red - errors
const static ColorName : rose
Rose
const static ColorName : sky
Sky
const static ColorName : slate
Slate
const static ColorName : stone
Stone
const static ColorName : teal
Teal
const static ColorName[] : vals
List of ColorName values indexed by ordinal
const static ColorName : violet
Violet
const static ColorName : yellow
Yellow - down
const static ColorName : zinc
Zinc