class

ColorName

@Js
@Gen
@Serializable { simple=true }
const class ColorName : Enum

Palette color name.

constructors fromStr

Return the ColorName instance for the specified name

fields amber

Amber

blue

Blue - informational

cyan

Cyan

emerald

Emerald

fuchsia

Fuchsia

gray

Gray

green

Green - ok, success

indigo

Indigo

lime

Lime

neutral

Neutral

orange

Orange - warnings, faults

pink

Pink

purple

Purple - abnormal

red

Red - errors

rose

Rose

sky

Sky

slate

Slate

stone

Stone

teal

Teal

vals

List of ColorName values indexed by ordinal

violet

Violet

yellow

Yellow - down

zinc

Zinc

amber const static ColorName : amber

Amber

blue const static ColorName : blue

Blue - informational

cyan const static ColorName : cyan

Cyan

emerald const static ColorName : emerald

Emerald

fromStr 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.

fuchsia const static ColorName : fuchsia

Fuchsia

gray const static ColorName : gray

Gray

green const static ColorName : green

Green - ok, success

indigo const static ColorName : indigo

Indigo

lime const static ColorName : lime

Lime

neutral const static ColorName : neutral

Neutral

orange const static ColorName : orange

Orange - warnings, faults

pink const static ColorName : pink

Pink

purple const static ColorName : purple

Purple - abnormal

red const static ColorName : red

Red - errors

rose const static ColorName : rose

Rose

sky const static ColorName : sky

Sky

slate const static ColorName : slate

Slate

stone const static ColorName : stone

Stone

teal const static ColorName : teal

Teal

vals const static ColorName[] : vals

List of ColorName values indexed by ordinal

violet const static ColorName : violet

Violet

yellow const static ColorName : yellow

Yellow - down

zinc const static ColorName : zinc

Zinc

Haxall 4.0.7 ∙ 27-Oct-2026 09:10 EDT